OBJECT
GuardrailsAccountState
Guardrails representation for an account state. All top level fields like name, description, accountStateType, accountStateProvider will be removed in future and will be coming from ManagementEndpoint. JIRA for the same VRAE-35809.
link GraphQL Schema definition
- type GuardrailsAccountState implements Node {
- # Guardrail account project
- GuardrailsAccountStateProject!] : [
- # account id for the GuardrailsAccountState. Eg. For AWS this will be the
- # accountId for Azure this will be subscription
- String :
- # Guardrail account provider. Eg AWS , AZURE etc.
- String :
- # Guardrail GuardrailsAccountState type. Eg Account, Subscription, Organization,
- # OrganizationUnit etc
- String :
- # CSP user who configured guardrails on this account state
- User! :
- # Timestamp at which guardrails is configured on this account state. Expressed in
- # UTC ISO-8601 format
- DateTime! :
- # Guardrail account description
- String :
- # desired state runs for this account
- #
- # Arguments
- # after: Return records after the given cursor, as per GraphQL
- # Relay spec
- # before: Return records before the given cursor, as per GraphQL
- # Relay spec
- # first: Return first N records in a paged response, as per
- # GraphQL Relay spec
- String, : String, : Int): GuardrailsDesiredStateRunConnection! ( :
- # desired states configured on this account
- #
- # Arguments
- # after: Return records after the given cursor, as per GraphQL
- # Relay spec
- # before: Return records before the given cursor, as per GraphQL
- # Relay spec
- # first: Return first N records in a paged response, as per
- # GraphQL Relay spec
- String, : String, : Int): GuardrailsDesiredStateConnection! ( :
- # enforced states configured on this account state
- #
- # Arguments
- # after: Return records after the given cursor, as per GraphQL
- # Relay spec
- # before: Return records before the given cursor, as per GraphQL
- # Relay spec
- # cspProjectEntityId: Return enforced states belonging to
- # provided projects
- # drifted: Return only drifted enforced states
- # first: Return first N records in a paged response, as per
- # GraphQL Relay spec
- # from: Filter from date time
- # sort: Results are sorted as per fields and order specified.
- # Supported fields are createdBy, updatedBy, status, stateId, stateRef
- # to: Filter to date time
- (
- String, :
- String, :
- EntityId!], : [
- Boolean, :
- Int, :
- DateTime, :
- QuerySort!], : [
- DateTime :
- ): GuardrailsEnforcedStateConnection!
- ID! :
- # Guardrail account name
- String :
- # Guardrail parent account state
- GuardrailsAccountState :
- # Time series guardrails stats for this account state
- # The stats are currently retrieved from guardrails database. In future this will
- # be supported using aria stats service.
- # JIRA for the sane VRAE-35807
- #
- # Arguments
- # cspProjectEntityId: Return stats applicable to provided
- # projects
- # from: Filter from date time
- # statsIntervalType: stats time interval can be Days or Hours
- # statsRange: stats time range can be 24hrs, 7days or 30days
- # to: Filter to date time
- # types: [Not documented]
- (
- EntityId!], : [
- DateTime, :
- GuardrailsStatsIntervalType!, :
- GuardrailsStatsRange, :
- DateTime, :
- GuardrailsStatType!]! : [
- ): [GuardrailsStats!]!
- # this will capture summary metrics like total monitored drifts, total mitigated
- # drifts etc.
- #
- # Arguments
- # from: Filter from date time
- # range: [Not documented]
- # to: Filter to date time
- DateTime, : GuardrailsStatsRange, : DateTime): GuardrailsAccountSummary ( :
- # Guardrails Account tags
- Tag!] : [
- # CSP user who updated guardrails configuration on this account state
- User :
- # Timestamp at which guardrails configuration is updated on this account state.
- # Expressed in UTC ISO-8601 format
- DateTime :
- }
link Require by
- GuardrailsAccountStateGuardrails representation for an account state. All top level fields like name, description, accountStateType, accountStateProvider will be removed in future and will be coming from ManagementEndpoint. JIRA for the same VRAE-35809.
- GuardrailsAccountStateConnectionGuardrails Account State Connection Type
- GuardrailsAccountStateEdgeGuardrails Account Edge Type.
- GuardrailsDesiredStateContextDesired state context in which desired state is to be run. Includes account and region information.
- GuardrailsDesiredStateRunGuardrailsDesiredStateRun - It is a point-in-time instance of guardrails desired state run.
- GuardrailsEnforcedStateRepresents state that is enforced