setPipelineScanSettings

Examples

mutation SetPipelineScanSettings($input: SetPipelineScanSettingsInput!) {
  setPipelineScanSettings(input: $input) {
    success
  }
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

{
  "input": {
    "appIds": ["30966426"],
    "timeout": 13.37,
    "performance": "example",
    "failOnTimeout": true,
    "failOnError": true,
    "scansEnabled": true,
    "scanSummaryAsCommentEnabled": true,
    "eventsTriggeringScansForBranches": [
      {
        "branchNamePatternBranchSelection": "example",
        "genericOptionBranchSelection": "defaultBranch",
        "events": [
          {
            "type": "pullRequest",
            "value": true
          }
        ]
      }
    ],
    "scansEnabledForBitbucketApp": true,
    "eventsTriggeringScansForBranchesForBitbucketApp": [
      {
        "branchNamePatternBranchSelection": "example",
        "genericOptionBranchSelection": "defaultBranch",
        "events": [
          {
            "type": "pullRequest",
            "value": true
          }
        ]
      }
    ],
    "scansEnabledForGitLabWebhooks": true,
    "eventsTriggeringScansForBranchesForGitLabWebhooks": [
      {
        "branchNamePatternBranchSelection": "example",
        "genericOptionBranchSelection": "defaultBranch",
        "events": [
          {
            "type": "pullRequest",
            "value": true
          }
        ]
      }
    ]
  }
}

Arguments

You can use the following argument(s) to customize your setPipelineScanSettings mutation.

Argument
Description
Supported fields

appIds [String!]! timeout Float performance String failOnTimeout Boolean failOnError Boolean scansEnabled Boolean! scanSummaryAsCommentEnabled Boolean eventsTriggeringScansForBranches [EventsTriggeringScansForBranchesSettingInput!] scansEnabledForBitbucketApp Boolean eventsTriggeringScansForBranchesForBitbucketApp [EventsTriggeringScansForBranchesSettingInput!] scansEnabledForGitLabWebhooks Boolean eventsTriggeringScansForBranchesForGitLabWebhooks [EventsTriggeringScansForBranchesSettingInput!]

Fields

Return type: SetPipelineScanSettingsResponse!

You can use the following field(s) to specify what information your setPipelineScanSettings mutation will return. Please note that some fields may have their own subfields.

Field
Description
Supported fields

success Boolean!

Whether all settings updates completed successfully.

Last updated