OBJECT

GuardrailsDesiredStateRunResponse

encapsulation of one or more runs resulting from a desired state being run

link GraphQL Schema definition

  • type GuardrailsDesiredStateRunResponse implements Node {
  • # CSP user who created guardrail desired state run
  • createdBy: User!
  • # Timestamp at which guardrail desired state run is created. Expressed in UTC
  • # ISO-8601 format
  • createdOn: DateTime!
  • # CSP project associated with guardrail desired state run
  • cspProjectEntity: Entity
  • # Guardrail DesiredState
  • desiredState: GuardrailsDesiredState!
  • # Unique identifier
  • id: ID!
  • # indicates if this run is a test run
  • isTestRun: Boolean
  • # DesiredState run message
  • message: String
  • # desired state mode as provided during run
  • mode: GuardrailsDesiredStateMode!
  • # A desired state run may produce one or more desired state runs for specific
  • # accounts
  • #
  • # Arguments
  • # account: filter results by account
  • # 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
  • # sort: Results are sorted as per fields and order specified.
  • # Supported fields are createdBy, updatedBy, status, stateId, stateRef
  • runs(
  • account: [GuardrailsAccountSelector!],
  • after: String,
  • before: String,
  • first: Int,
  • sort: [QuerySort!]
  • ): GuardrailsDesiredStateRunConnection!
  • # DesiredState run status
  • status: GuardrailsDesiredStateRunStatus
  • # CSP user who updated guardrail desired state run
  • updatedBy: User
  • # Timestamp at which guardrail desired state run is updated. Expressed in UTC
  • # ISO-8601 format
  • updatedOn: DateTime
  • }