OBJECT

GuardrailsEnforcedState

Represents state that is enforced

link GraphQL Schema definition

  • type GuardrailsEnforcedState implements Node {
  • # GuardrailsAccountState on which this enforced state was run
  • accountState: GuardrailsAccountState
  • # Drift fixed by this EnforcedState
  • changes: JSON
  • # EnforcedState comments
  • comment: String
  • # CSP user who created guardrail desired state run
  • createdBy: User!
  • # Timestamp at which guardrail enforcement state run is created. Expressed in UTC
  • # ISO-8601 format
  • createdOn: DateTime!
  • # CSP project associated with guardrail enforcement state
  • cspProjectEntity: Entity
  • # Error message in case of failure
  • errorMessage: String
  • # GuardrailsDesiredStateRun object that produced this EnforcedState
  • guardrailsDesiredStateRun: GuardrailsDesiredStateRun
  • id: ID!
  • # Required for backward compatibility, will be removed in future
  • #
  • # **NOTE:** This API/functionality is in Alpha, This functionality can be unstable
  • # and schema elements may change over future iterations.
  • idemTaskId: String!
  • # EnforcedState result
  • output: Object
  • # Unique identifier for state
  • stateId: ID!
  • # State reference name - Eg aws.iam.policy, aws.ec2.instance
  • stateRef: String!
  • # State reference Human readable Name - Eg Aws Iam Policy
  • stateRefDisplayName: String
  • # Status for this EnforcedState
  • status: GuardrailsEnforcedStateStatus!
  • # tags on this enforced state
  • tags: [Tag!]
  • # Target Entities
  • targetEntities: [Entity!]
  • # CSP user who updated guardrail desired state run
  • updatedBy: User
  • # Timestamp at which guardrail enforcement state is updated. Expressed in UTC
  • # ISO-8601 format
  • updatedOn: DateTime
  • }