PolicyComplianceStates Object
Relationships
graph LR
PolicyComplianceStates -->|"account"| Accounts
Properties
Truto's stable unified identifier for this object. Opaque; use provider_id to address the object in the provider's own console or API.
When Truto actually read this object from the provider, in UTC ISO 8601 with offset. Not the request time, and not a provider timestamp.
The evaluation outcome. insufficient_data is distinct from compliant — one provider allows this value in results but rejects it as a filter.
compliantnon_compliantinsufficient_datanot_applicableunknown
How many resources satisfy the rule.
Whether the counts are a provider-imposed ceiling rather than an exact count.
When the object was created at the provider, in UTC ISO 8601. Null when the provider does not record one - see unreadable_fields.
When the rule was last evaluated by the provider, never Truto's fetch time. On AWS this comes from a separate evaluation-status call.
The last evaluation that actually succeeded, as distinct from the last invocation.
The provider's own type string, unmodified — e.g. 'AWS::S3::Bucket', 'aws_iam_role', 'Microsoft.Sql/servers'.
How many resources violate the rule. See count_capped: the provider may return a ceiling rather than a true count.
The resources violating the rule. Only collected when opted in — see resource_ids_collected.
The rule or policy this state belongs to.
The rule name as the provider names it.
Which cloud this object was read from.
awsazuregcp
The provider's own identifier — a full ARN, resource id, or self-link — passed through verbatim, never truncated or normalized.
Where the object is. 'global' marks resources with no region (e.g. IAM, a GCP VPC network). If the provider returns no location, the queried region is substituted and flagged in unreadable_fields.
Raw data returned from the remote API call.
Whether non_compliant_resource_ids was actually gathered. False means an empty list reflects a collection choice, not a clean result.
The account, node or resource scope this state was evaluated for.
Key-value pairs exactly as the customer set them, with no case folding or normalization. An empty object means no tags; tags that could not be read appear in unreadable_fields instead.
Fields on this object that could not be read, and why. An empty array means everything was read. Use this to tell a real value from a missing one.
Explanation of the reason, where one adds anything.
The property on this resource that could not be read.
Why the field could not be read. available_on_get: Not read on list to keep the list fast; call GET for this resource's id to get it.
not_supported_by_providernot_configuredpermission_deniednot_collectedcollection_errorpartially_collectedavailable_on_get
When the object was last modified at the provider, in UTC ISO 8601. Null when the provider does not record one - see unreadable_fields.