INPUT_OBJECT

GuardrailsEnforcedStateFilter

link GraphQL Schema definition

  • input GuardrailsEnforcedStateFilter {
  • # Filter by acct
  • accountDetails: [GuardrailsAccountSelector!]
  • # Filter enforced states by project ids
  • # if project ids are passed, enforced states associated with project ids will be
  • # returned
  • # if no project ids are passed, all user visible enforced states will be returned
  • cspProjectEntityId: [EntityId!]
  • # Return only drifted enforced states
  • drifted: Boolean
  • # filter enforced states by entity ids
  • entityId: [EntityId!]
  • # Filter from date time
  • from: DateTime
  • # 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: [ID!]
  • # include drifts corresponding to latest runs or not
  • latest: Boolean
  • # Filter by Task mode
  • mode: GuardrailsDesiredStateMode
  • # Filter by stateId
  • stateId: String
  • # Filter by stateRef
  • stateRef: String
  • # Filter by status
  • status: [GuardrailsEnforcedStateStatus!]
  • # filter enforced states by category
  • tag: [TagInput!]
  • # Filter by matching template name
  • templateName: String
  • # Filter to date time
  • to: DateTime
  • }