Overview of Resmo resource changes.
Each resource has changes over time. They are created, updated or deleted. Customers can query these changes. They can use them in saved queries and rules.
Changes are powerful because they provide context on a resource's life cycle. Some use-cases:
- See who caused the change (available for some resources)
There are three types of changes
Each resource has changes and users can query them by adding "changes" at the end of the resource's name. For example, for github_repository resource, the changes are kept at github_repository_changes.
Resource changes have the following field structure:
"tags": String Array | null,
type: String -> "github_repo",
resourceId: "", -> internally generated id for changes of a resource
type: String -> "added | modified | removed",
actor: Object | null,
eventType: Sting | null, -> event type like "repository/privatized"
fields: Array | null,
-> resource's content before after it changes
-> resource's content before it changes, null if this is resource's first change
You can also visually see changes under /resources directory for each resource.