Lists a page of the enabled PathSensor configurations in an organization, including the default sensors Wartiva provides; total counts enabled sensors only. Disabled sensors are not listed, though pathSensor still returns one by id. Create and change sensors with createPathSensor and updatePathSensor. Restricted to organization administrators.
Response
Returns a PathSensorsPayload!
Arguments
| Name | Description |
|---|---|
orgId - OrganizationId!
|
The id of the Organization to retrieve PathSensors for. |
input - PathSensorsInput!
|
Pagination input. |
Example
Query
query pathSensors(
$orgId: OrganizationId!,
$input: PathSensorsInput!
) {
pathSensors(
orgId: $orgId,
input: $input
) {
nodes {
id
orgId
name
description
path
inclusions
exclusions
recursive
interval
collectChecksum
checksumMaxBytes
collectContents
collectAcls
contentMaxBytes
isDefault
enabled
osTarget {
...PathSensorOsTargetFragment
}
}
total
}
}
Variables
{
"orgId": "615f3b3b28284380e28a7342",
"input": PathSensorsInput
}
Response
{
"data": {
"pathSensors": {"nodes": [PathSensor], "total": 123}
}
}