Skip to content

Relationships

Schema relationships
graph LR
    SecurityProductStates -->|"account"| Accounts

Properties

idstring
required·

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

accountstring

The account, subscription or project this object belongs to.

References: Accounts → id
collected_atstring · date-time

When Truto actually read this object from the provider, in UTC ISO 8601 with offset. Not the request time, and not a provider timestamp.

config_updated_atstring · date-time

When the product's configuration last changed. Distinct from last_evaluated_at and never used as a stand-in for it.

created_atstring

When the object was created at the provider, in UTC ISO 8601. Null when the provider does not record one - see unreadable_fields.

enabledboolean

Whether the product is enabled in this account and region. 'Not enabled' (e.g. a 404) maps to false, never unknown; a permission failure is left null and flagged in unreadable_fields.

enabled_featuresstring[]

Capability toggles the product exposes that are not compliance standards.

enabled_standardsstring[]

Which compliance benchmarks are subscribed, as provider identifiers. Security Hub only — other products' feature toggles go in enabled_features instead.

last_evaluated_atstring · date-time

When the product last evaluated the estate. On AWS, only Config and Access Analyzer expose this; otherwise it's null (not_supported_by_provider) — never substituted with a config-change timestamp.

native_typestring

The provider's own type string, unmodified — e.g. 'AWS::S3::Bucket', 'aws_iam_role', 'Microsoft.Sql/servers'.

plan_namestring

The specific plan, for providers with per-plan states (e.g. Azure Defender for Servers vs Storage). No AWS equivalent. Free-trial status is not represented here.

product_namestring

Which product — for example 'securityhub', 'guardduty', 'inspector2', 'macie', 'config', 'accessanalyzer', 'defender-for-cloud', 'security-command-center'.

providerstring

Which cloud this object was read from.

Possible values:
awsazuregcp
provider_idstring

The provider's own identifier — a full ARN, resource id, or self-link — passed through verbatim, never truncated or normalized.

regionstring

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.

remote_dataRecord<string, any>

Raw data returned from the remote API call.

statusstring

The provider's own status string, verbatim. Distinct from enabled — e.g. AWS Macie's PAUSED is enabled-but-suspended, not disabled.

tagsobject

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.

tierstring

Paid tier or edition, where the provider has one. AWS services are usage-priced with no tier concept, so this is always null there (not_supported_by_provider in unreadable_fields).

unreadable_fieldsobject[]

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.

detailstring

Explanation of the reason, where one adds anything.

fieldstring

The property on this resource that could not be read.

reasonstring

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.

Possible values:
not_supported_by_providernot_configuredpermission_deniednot_collectedcollection_errorpartially_collectedavailable_on_get
updated_atstring

When the object was last modified at the provider, in UTC ISO 8601. Null when the provider does not record one - see unreadable_fields.