# SecurityProductStates Object

> Source: https://truto.one/docs/api-reference/unified-cloud-infrastructure-api/securityproductstates/

Schema for the `SecurityProductStates` resource in **Unified Cloud Infrastructure API**.

## Properties

- **`id`** _(string, 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.
- **`provider_ref`** _(string, 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.
- **`provider`** _(string, required)_
  Which cloud this object was read from.
  Allowed: `aws`, `azure`, `gcp`
- **`account_ref`** _(string, 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.
- **`region`** _(string)_
  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.
- **`native_type`** _(string, 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.
- **`tags`** _(object)_
  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.
- **`collected_at`** _(string, 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.
- **`unreadable_fields`** _(array<object>)_
  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'.
- **`remote_data`** _(object)_
  Raw data returned from the remote API call.
- **`product_name`** _(string, required)_
  Which product -- for example 'securityhub', 'guardduty', 'inspector2', 'macie', 'config', 'accessanalyzer', 'defender-for-cloud', 'security-command-center'.
- **`enabled`** _(boolean, required)_
  Whether the product is enabled in this account and region. Every AWS security product is regional with no global endpoint, so this question is only answerable per region and the collector fans out. A 404 or empty response that means 'not enabled' is mapped to false, never to unknown; a permission failure is left null and recorded in unreadable_fields.
- **`status`** _(string)_
  The provider's own status string, verbatim. Kept separate from `enabled` because states like AWS Macie's PAUSED are enabled-but-suspended, not disabled.
- **`tier`** _(string)_
  Paid tier or edition, where the provider has one. AWS security services are usage-priced and expose no tier at all, so on AWS this is always null with a not_supported_by_provider entry in unreadable_fields.
- **`plan_name`** _(string)_
  The specific plan, where the provider is per-plan -- on Azure this must be per plan, since Defender for Servers on with Defender for Storage off is common. No AWS equivalent exists for any of the eight products; free-trial status is not a plan name and is not substituted.
- **`enabled_standards`** _(array<string>)_
  Which compliance benchmarks are subscribed, as provider identifiers. A Security Hub concept only. Feature toggles from other products (GuardDuty features, Inspector scan types, Security Lake log sources) are NOT forced into this field -- they go to enabled_features.
- **`enabled_features`** _(array<string>)_
  Capability toggles the product exposes that are not compliance standards.
- **`last_evaluated_at`** _(string)_
  When the product last actually evaluated the estate. Genuinely readable for only two of the eight AWS products (Config and Access Analyzer). For the rest this is null with a not_supported_by_provider entry -- a configuration-change timestamp is never substituted here.
- **`config_updated_at`** _(string)_
  When the product's configuration last changed. Distinct from last_evaluated_at and never used as a stand-in for it.

## Methods

- [GET /unified/cloud-infrastructure/security_product_states](/docs/api-reference/unified-cloud-infrastructure-api/securityproductstates/list) — List Security product states
