Skip to content

Properties

account_refstring
required·

The account, subscription or project the object belongs to. An object with no account cannot be attributed to an environment, so this is always present for objects that live inside an account.

collected_atstring · date-time
required·

When Truto actually read this object from the provider, in UTC ISO 8601 with the offset present. Not when the request was made and not a provider timestamp. Drives consumer staleness rules.

effectstring
required·

Whether the policy BLOCKS the action or merely reports it. The field that matters most here: a rule that blocks is far stronger evidence than one that audits. Note that AWS service control policies have no audit or report-only mode at all -- only allow and deny, both effective immediately -- so 'audit' is never emitted for them, and effect is per statement rather than per policy, since a single policy commonly contains both.

Possible values:
denyallowauditmodifymixedunknown
enforcedboolean
required·

Whether the policy is actually in force. No enabled toggle exists at policy or attachment level on AWS; it is derived from the policy type being enabled on the organisation root AND the policy having at least one target, and is flagged as derived.

idstring
required·

Truto's stable unified identifier for this object. Opaque; use provider_ref to address the object in the provider's own console or API.

native_typestring
required·

The provider's own type string, unmodified -- for example 'AWS::S3::Bucket', 'aws_iam_role', 'Microsoft.Sql/servers'. Used for display and drill-down.

policy_namestring
required·

The policy name as the provider names it.

policy_refstring
required·

The provider's own identifier for the policy.

providerstring
required·

Which cloud this object was read from.

Possible values:
awsazuregcp
provider_refstring
required·

The provider's own unbroken identifier, passed through verbatim -- a full ARN, resource id or self-link. Never truncated, prefixed or normalised. This is the customer-facing key used to find the object in the console.

scope_refstring
required·

The node this row reports the policy as applying to.

scope_typestring
required·

The level this row's scope node sits at.

Possible values:
organisationgroupingaccountresourceunknown
allowed_valuesstring[]

Values the policy permits, where the provider exposes them as structured data. Nothing exposes these for AWS service control policies; they could only be heuristically parsed out of arbitrary customer-authored condition blocks, and are left null rather than guessed.

denied_valuesstring[]

Values the policy forbids, on the same terms as allowed_values.

display_namestring

A friendlier name, where the provider has one separate from policy_name. AWS service control policies have no such field and this falls back to the name.

has_local_overrideboolean

Whether a sub-account has opted out of an organisation-wide rule -- itself a finding. No such concept exists for AWS service control policies: they intersect and never override, a child can never relax a parent, and there is no exemption mechanism, so this is always false there and that is a fact rather than a gap.

inherited_from_refstring

The node the policy is actually attached to, when that differs from scope_ref. Inheritance must be computed on AWS: the attachment operation returns directly attached policies only, and the operation that would merge inheritance explicitly excludes service control policies.

is_inheritedboolean

Whether this row is an inherited application rather than a direct attachment.

parametersobject

Parameter values supplied where the policy is instantiated per assignment. AWS service control policies are not parameterised at all -- attaching one to forty nodes attaches the identical document forty times -- so this is null with not_supported_by_provider there.

policy_documentstring

The raw policy document. Carried in the provider's native encoding: AWS service control policy content is plain JSON, the opposite of IAM policy documents, and applying the IAM decode rule to it mangles the document.

policy_typestring

Which preventative policy mechanism this is, as the provider names it.

regionstring

Where the object is. A compliance answer in its own right, not metadata. The literal string 'global' is emitted for genuinely global resources (for example IAM, or a GCP VPC network) rather than guessing a region. Never invented: where the provider does not return a location and none can be derived, the collector's queried region is used and that substitution is recorded in unreadable_fields.

remote_dataRecord<string, any>

Raw data returned from the remote API call.

supports_audit_modeboolean

Whether this policy mechanism can express a report-only mode at all, so that the absence of audit policies is not misread as the customer choosing not to use them.

tagsobject

Key-value pairs exactly as the customer set them: no case folding, no key or value normalisation, no merging of separate provider concepts. Present on every object because tags are the primary input for environment classification. An empty object means the object carries no tags; tags that could not be read are recorded in unreadable_fields instead.

unreadable_fieldsobject[]

Per-object list of the fields that could not be read, and why -- the brief section 8.4 answer, chosen over per-field sentinel values. Each entry is an object with 'field' (the property name on this resource), 'reason' (a reason code) and an optional human-readable 'detail'. Reason codes: not_supported_by_provider, not_configured, permission_denied, not_collected, collection_error, partially_collected. An empty array means every property on this object was read successfully. A property absent from this array and null in the payload means the provider genuinely returned no value, which is different from 'we could not look'.