Skip to content

Relationships

Schema relationships
graph LR
    WorkloadIdentities -->|"account"| Accounts
    WorkloadIdentities -->|"permissions"| PermissionDefinitions

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 read this object from the provider, in UTC ISO 8601 with offset. Not the request time, and not a provider-supplied timestamp.

created_atstring · date-time

When the identity was created.

federated_credentialsobject[]

Federated access configuration assembled from the trust policy.

audiencestring[]

Audience values the trust policy accepts.

has_subject_conditionboolean

Whether the trust is also scoped by subject.

issuerstring

The federated identity provider, without its URL scheme.

has_static_keysboolean

Whether the machine identity holds long-lived keys. Always false for AWS IAM roles, which have no long-term credentials -- a provider fact, not a data gap.

has_subject_conditionboolean

Whether a subject condition is present on the federated trust. Absence matters: a trust with no subject condition lets any subject from that issuer assume the identity -- e.g. any GitHub repository for a GitHub Actions provider.

has_unconditional_wildcard_trustboolean

Whether the identity can be assumed by a bare wildcard principal with no condition -- wide open. Derived.

identity_idstring

The provider's own identifier for the workload identity.

identity_typestring

Role, managed identity, service principal or service account.

Possible values:
rolemanaged_identityservice_principalservice_accountother
inline_permission_countinteger

How many inline permission documents are attached directly.

key_countinteger

How many long-lived keys the identity holds. Always 0 for AWS IAM roles.

last_used_atstring · date-time

When the identity was last used. On AWS the tracking window is about 400 days, so a null does not mean unused -- report as unknown, not dormant.

last_used_regionstring

Where the identity was last used, where the provider exposes it.

namestring

The identity name as the provider names it.

native_typestring

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

permissionsobject[]

The permission definitions attached to this identity.

idstring

The target's id.

providerstring

Which cloud this object was read from.

Possible values:
awsazuregcp
provider_idstring

The provider's own identifier, verbatim -- a full ARN, resource id, or self-link. Never truncated or normalised. Use it to find the object in the provider's console.

regionstring

Where the object is located. 'global' marks resources with no region (e.g. IAM, a GCP VPC network). If the provider gives none, the collector's queried region is used instead and flagged in unreadable_fields.

remote_dataRecord<string, any>

Raw data returned from the remote API call.

tagsobject

Key-value pairs exactly as the customer set them -- no case folding, key/value normalisation, or merging across providers. An empty object means no tags; unreadable tags appear in unreadable_fields instead.

trust_policy_documentstring

The raw trust or assume-role policy document, verbatim.

trusted_external_principalsstring[]

External accounts, services and federated issuers allowed to assume this identity, as provider principal strings.

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

Additional detail on the reason, when there is any.

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.