Share via


az security security-connector devops azuredevopsorg

Command group 'az security security-connector devops' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

AzureDevOps Organizations.

Commands

Name Description Type Status
az security security-connector devops azuredevopsorg create

Create monitored Azure DevOps organization details.

Core Preview
az security security-connector devops azuredevopsorg list

List Azure DevOps organizations onboarded to the connector.

Core Preview
az security security-connector devops azuredevopsorg project

Azure DevOps projects.

Core Preview
az security security-connector devops azuredevopsorg project create

Create a monitored Azure DevOps project resource.

Core Preview
az security security-connector devops azuredevopsorg project list

List Azure DevOps projects onboarded to the connector.

Core Preview
az security security-connector devops azuredevopsorg project repo

Azure DevOps repositories.

Core Preview
az security security-connector devops azuredevopsorg project repo create

Create a monitored Azure DevOps repository resource.

Core Preview
az security security-connector devops azuredevopsorg project repo list

List Azure DevOps repositories onboarded to the connector.

Core Preview
az security security-connector devops azuredevopsorg project repo show

Get a monitored Azure DevOps repository resource.

Core Preview
az security security-connector devops azuredevopsorg project repo update

Update a monitored Azure DevOps repository resource.

Core Preview
az security security-connector devops azuredevopsorg project repo wait

Place the CLI in a waiting state until a condition is met.

Core Preview
az security security-connector devops azuredevopsorg project show

Get a monitored Azure DevOps project resource.

Core Preview
az security security-connector devops azuredevopsorg project update

Update a monitored Azure DevOps project resource.

Core Preview
az security security-connector devops azuredevopsorg project wait

Place the CLI in a waiting state until a condition is met.

Core Preview
az security security-connector devops azuredevopsorg show

Get a monitored Azure DevOps organization resource.

Core Preview
az security security-connector devops azuredevopsorg update

Update monitored Azure DevOps organization details.

Core Preview
az security security-connector devops azuredevopsorg wait

Place the CLI in a waiting state until a condition is met.

Core Preview

az security security-connector devops azuredevopsorg create

Preview

Command group 'az security security-connector devops azuredevopsorg' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Create monitored Azure DevOps organization details.

az security security-connector devops azuredevopsorg create --name
                                                            --org-name
                                                            --resource-group
                                                            [--actionable-remediation]
                                                            [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]

Required Parameters

--name --security-connector-name -n

The security connector name.

--org-name

The Azure DevOps organization name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--actionable-remediation

Configuration payload for PR Annotations. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--no-wait

Do not wait for the long-running operation to finish.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az security security-connector devops azuredevopsorg list

Preview

Command group 'az security security-connector devops azuredevopsorg' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List Azure DevOps organizations onboarded to the connector.

az security security-connector devops azuredevopsorg list --name
                                                          --resource-group
                                                          [--max-items]
                                                          [--next-token]

Required Parameters

--name --security-connector-name -n

The security connector name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az security security-connector devops azuredevopsorg show

Preview

Command group 'az security security-connector devops azuredevopsorg' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Get a monitored Azure DevOps organization resource.

az security security-connector devops azuredevopsorg show [--ids]
                                                          [--name]
                                                          [--org-name]
                                                          [--resource-group]
                                                          [--subscription]

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name --security-connector-name -n

The security connector name.

--org-name

The Azure DevOps organization name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az security security-connector devops azuredevopsorg update

Preview

Command group 'az security security-connector devops azuredevopsorg' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Update monitored Azure DevOps organization details.

az security security-connector devops azuredevopsorg update [--actionable-remediation]
                                                            [--ids]
                                                            [--name]
                                                            [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                            [--org-name]
                                                            [--resource-group]
                                                            [--subscription]

Examples

Disable pull request annotations

az security security-connectors devops azuredevopsorgs projects repos update --security-connector-name myConnectorName --resource-group myResourceGroup --org-name myOrganization --actionable-remediation state=Disabled

Enable pull request annotations with minimum severity level

az security security-connectors devops azuredevopsorgs projects repos update --security-connector-name myConnectorName --resource-group myResourceGroup --org-name myOrganization --actionable-remediation state=Enabled category-configurations[0].category=IaC category-configurations[0].minimum-severity-level=Low

Optional Parameters

--actionable-remediation

Configuration payload for PR Annotations. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name --security-connector-name -n

The security connector name.

--no-wait

Do not wait for the long-running operation to finish.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--org-name

The Azure DevOps organization name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az security security-connector devops azuredevopsorg wait

Preview

Command group 'az security security-connector devops azuredevopsorg' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Place the CLI in a waiting state until a condition is met.

az security security-connector devops azuredevopsorg wait [--created]
                                                          [--custom]
                                                          [--deleted]
                                                          [--exists]
                                                          [--ids]
                                                          [--interval]
                                                          [--name]
                                                          [--org-name]
                                                          [--resource-group]
                                                          [--subscription]
                                                          [--timeout]
                                                          [--updated]

Optional Parameters

--created

Wait until created with 'provisioningState' at 'Succeeded'.

Default value: False
--custom

Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].

--deleted

Wait until deleted.

Default value: False
--exists

Wait until the resource exists.

Default value: False
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--interval

Polling interval in seconds.

Default value: 30
--name --security-connector-name -n

The security connector name.

--org-name

The Azure DevOps organization name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--timeout

Maximum wait in seconds.

Default value: 3600
--updated

Wait until updated with provisioningState at 'Succeeded'.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.