Notifications

Filtering Notifications

You can use the notifications filter to search and filter notifications in the Turbot Guardrails Console or using GraphQL queries.

Notification Types

The type keyword accepts any of the specific notification types listed below. These represent individual lifecycle events for each entity type in Guardrails.

CategoryNotification TypeDescription
Resourceresource_createdA new resource was discovered or created in Guardrails.
resource_updatedA resource's configuration or metadata changed.
resource_deletedA resource was removed from Guardrails.
resource_discoveredA resource was first discovered by a discovery control.
Controlcontrol_createdA control was instantiated for a resource.
control_updatedA control changed state (e.g., ok → alarm). Only fires when the state actually changes. A re-evaluation that produces the same state does not generate a notification.
control_deletedA control was removed.
control_notifyA control emitted a notification during its run.
Policy Settingpolicy_setting_createdA new policy setting was created at some level of the hierarchy.
policy_setting_updatedAn existing policy setting was modified.
policy_setting_deletedA policy setting was removed.
Policy Valuepolicy_value_createdA calculated policy value was resolved for the first time.
policy_value_updatedA calculated policy value changed (e.g., due to a setting change or resource update).
policy_value_deletedA calculated policy value was removed.
Grantgrant_createdA permission grant was created.
grant_updatedA permission grant was modified.
grant_deletedA permission grant was removed.
grant_activatedA permission grant was activated for use.
grant_deactivatedA permission grant was deactivated.
Active Grantactive_grant_createdA grant activation record was created (the grant is now live in the cloud provider).
active_grant_deletedA grant activation record was removed.

You can combine multiple specific types in a comma-separated list: type:resource_created,resource_updated.

The notificationType keyword (described above) is a shorthand that matches all lifecycle events for a category, for example, notificationType:resource matches resource_created, resource_updated, resource_deleted, and resource_discovered.

For more about how activities and notifications surface in the Guardrails Console, see Activities.

Supported keywords are:

Note the following limitations:

Examples

AimFilter text
Notifications for resources, newest firstnotificationType:resource sort:-timestamp
The last 100 deletion notifications of any typenotificationType:resourceDeleted,policySettingDeleted,policyValueDeleted,controlDeleted,actionDeleted,scheduledActionDeleted,grantDeleted,activeGrantsDeleted,favoriteDeleted,watchDeleted sort:-timestamp limit:100
Recent permissions activitynotificationType:activeGrant,grant sort:-timestamp
Notifications for a resource and its descendants for the last 2 hoursresource:162675146433353 timestamp:>T-2h sort:-timestamp
Notifications for a resource only (NOT its descendants)resource:162675146433353 level:self sort:-timestamp
Control notifications related to AWS > S3 > Bucket > ApprovednotificationType:control controlType:tmod:@turbot/aws-s3#/control/types/bucketApproved sort:-timestamp
Policy notifications for all AWS > S3 > Approved policies and sub-policiesnotificationType:policyValue,policySetting policyType:tmod:@turbot/aws-s3#/policy/types/bucketApproved sort:-timestamp
Notifications for a specific actor (user) with its profileIdactorIdentityId:162674901433086