OBJECT

GuardrailsTemplate

GuardrailsTemplate - It is a collection of guardrail states as code including landing zone, preventive guardrails, detective guardrails, all expressed as code.

link GraphQL Schema definition

  • type GuardrailsTemplate implements Node {
  • # Guardrails template category
  • category: GuardrailsTemplateCategory!
  • # Representation of the desired state of a guardrail enforcement on private/public
  • # cloud resources
  • content: GuardrailsTemplateComposition
  • # Content Source Type
  • contentSourceType: GuardrailsContentSourceType
  • # CSP user who created guardrail template
  • createdBy: User!
  • # Timestamp at which guardrail template is created. Expressed in UTC ISO-8601
  • # format
  • createdOn: DateTime!
  • # CSP project associated with guardrail template
  • cspProjectEntity: Entity
  • # Flag indicating whether the template is archived
  • deleted: Boolean
  • # Guardrail template description
  • description: String
  • # desired states created from this template
  • #
  • # 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
  • desiredStates(after: String, before: String, first: Int): GuardrailsDesiredStateConnection
  • # Unique identifier for guardrail template
  • id: ID!
  • # reference logical identifier for a library template. Only applicable if template
  • # was created from a library template
  • libraryTemplateId: String
  • # logs generated if template is generated from an account
  • logs: [GuardrailsLogs!]!
  • # Guardrail template name
  • name: String!
  • # Parameters required to run guardrail template.
  • parameters: JSON
  • # Content Source - contains Git configuration
  • sourceMeta: JSON
  • # Guardrail Template Status
  • status: GuardrailsTemplateStatus!
  • # Guardrail Template Status code
  • statusCode: GuardrailsTemplateStatusCode
  • # It contains human readable JSON representation of template states.
  • templateContentMeta: JSON
  • # Meta to represent details like name, description, category or anything related
  • # to Guardrails.
  • templateMeta: JSON
  • # CSP user who updated guardrail template
  • updatedBy: User
  • # Timestamp at which guardrail template is updated. Expressed in UTC ISO-8601
  • # format
  • updatedOn: DateTime
  • # Guardrail template version
  • version: String
  • }