OBJECT
GuardrailsMutations
link GraphQL Schema definition
- type GuardrailsMutations {
- # Clone a guardrails template
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # meta: guardrails clone template input
- GuardrailsTemplateInput!): GuardrailsTemplate ( :
- # Create a cloud account.
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # input: Input parameters for creating onboarding and setting up
- # event stream for the cloud account.
- (
- GuardrailsCreateCloudAccountInput! :
- ): GuardrailsCreateAccountResponse
- # Delete Guardrails desired states
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # ids: [Not documented]
- ID!]!): [GuardrailsDeleteResult!]! ( : [
- # Delete Guardrails templates
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # ids: Ids of the guardrails templates to be deleted
- ID!]!): [GuardrailsDeleteResult!]! ( : [
- # Initiate template generation for an account
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # input: Guardrails generate template input
- GuardrailsGenerateTemplateInput!): GuardrailsGenerateTemplateResponse ( :
- # Import guardrails library templates
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # input: details of templates to be imported
- (
- GuardrailsImportTemplateInput! :
- ): GuardrailsImportLibraryTemplatesResponse
- # Run a guardrails desired state
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # account: set this if desired state is associated with multiple
- # accounts, and we only want to run against a specific account
- # id: Identifier for guardrails desired state to be run
- # mode: Override desired state mode if required
- (
- GuardrailsAccountSelector, :
- ID!, :
- GuardrailsDesiredStateMode :
- ): GuardrailsDesiredStateRunResponse
- # Test a desired state. This API is intended for validation or confirming the
- # output of a desired state run.
- # We can use this to test a desired state which can either be in ENFORCEMENT or
- # MONITOR mode.
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # account: set this if desired state is associated with multiple
- # accounts, and we only want to test against a specific account
- # id: Identifier for guardrails desired state to be run
- GuardrailsAccountSelector, : ID!): GuardrailsDesiredStateRunResponse ( :
- # Create or Update a guardrails desired state
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # contentSource: Guardrails content source
- # desiredState: guardrails desired state input - name,
- # description, parameters etc.
- (
- GuardrailsContentSource, :
- GuardrailsDesiredStateInput! :
- ): GuardrailsDesiredState
- # Create or Update a guardrails template
- #
- # **NOTE:** This API/functionality is in Alpha, This functionality can be unstable
- # and schema elements may change over future iterations.
- #
- # Arguments
- # content: Content of guardrails template along with other
- # content information like content type etc.
- # meta: Guardrails template input - name, description, category
- # etc.
- (
- GuardrailsTemplateContent, :
- GuardrailsTemplateInput :
- ): GuardrailsTemplate
- # Add Guardrails worker group cloud accounts. This applies to type = REMEDIATION
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # cloudAccounts: Cloud accounts
- # groupId: Id of the guardrails worker group
- (
- GuardrailsWorkerGroupAccountInput!], : [
- ID! :
- ): GuardrailsWorkerGroup!
- # Registers a worker and creates required access keys
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # workerInfo: [Not documented]
- GuardrailsWorkerBootstrapInput!): GuardrailsWorkerBootstrapResult ( :
- # Delete Guardrails worker groups
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # ids: Ids of the guardrails worker groups to be deleted. Delete
- # multi worker groups are not supported.
- ID!]): [GuardrailsWorkerGroupDeleteResult!] ( : [
- # Delete Guardrails worker group cloud accounts
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # cloudAccountIds: Ids of the guardrails worker group
- # cloudAccount. Delete multi cloud accounts are not supported
- # groupId: Id of the guardrails worker group
- (
- ID!]!, : [
- ID! :
- ): GuardrailsWorkerGroup!
- # Delete Guardrails workers"
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # groupId: Id of the guardrails worker group
- # workerIds: Ids of the guardrails worker group workers. Delete
- # multi workers are not supported
- ID!, : [ID!]!): [GuardrailsWorkerDeleteResult!]! ( :
- # Generate guardrails worker group secret
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # workerGroupId: [Not documented]
- ID): GuardrailsWorkerGroupSecret ( :
- # Update Guardrails worker group cloud accounts. This applies to type =
- # REMEDIATION
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # cloudAccount: Cloud account.
- # groupId: Id of the guardrails worker group
- # id: Id of the cloud account.
- (
- GuardrailsWorkerGroupAccountInput!, :
- ID!, :
- ID! :
- ): GuardrailsWorkerGroup!
- # Create or Update a guardrails worker group
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # guardrailsWorkerGroup: [Not documented]
- (
- GuardrailsWorkerGroupInput! :
- ): GuardrailsWorkerGroup
- # Delete Guardrails remediation action.
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # ids: Ids of the guardrails remediation action to be deleted.
- ID!]): [GuardrailsRemediationActionDeleteResult!] ( : [
- # Remediate finding.
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # actionId: Action Identifier
- # findingId: List of finding identifiers.
- String!, : [String!]!): GuardrailsRemediateFindingResult! ( :
- # Create a Guardrail's remediation action.
- # Action is a definition of which remediation Job is run when certain criteria are
- # met.
- #
- # **NOTE:** This API/functionality is in Beta, this functionality is a candidate
- # for a stable API but we reserve the right to fix issues including modifying the
- # schema if required.
- #
- # Arguments
- # action: [Not documented]
- (
- GuardrailsRemediationActionInput! :
- ): GuardrailsRemediationAction
- }