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,
"scanSummaryShowSuccess": true,
"eventsTriggeringScansForBranches": [
{
"branchNamePatternBranchSelection": "example",
"genericOptionBranchSelection": "defaultBranch",
"events": [
{
"type": "pullRequest",
"value": true
}
]
}
],
"scansEnabledForBitbucketApp": true,
"scanSummaryAsCommentEnabledForBitbucketApp": 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.
input SetPipelineScanSettingsInput! required
appIds [String!]!
timeout Float
performance String
failOnTimeout Boolean
failOnError Boolean
scansEnabled Boolean!
scanSummaryAsCommentEnabled Boolean
scanSummaryShowSuccess Boolean
eventsTriggeringScansForBranches [EventsTriggeringScansForBranchesSettingInput!]
scansEnabledForBitbucketApp Boolean
scanSummaryAsCommentEnabledForBitbucketApp 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.
success Boolean!
Whether all settings updates completed successfully.
Last updated
