az security security-connector devops azuredevopsorg project repo

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

Azure DevOps repositories.

Commands

Name Description Type Status
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 repo list

Preview

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

List Azure DevOps repositories onboarded to the connector.

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

Required Parameters

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

The security connector name.

--org-name

The Azure DevOps organization name.

--project-name

The project 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 project repo show

Preview

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

Get a monitored Azure DevOps repository resource.

az security security-connector devops azuredevopsorg project repo show [--ids]
                                                                       [--name]
                                                                       [--org-name]
                                                                       [--project-name]
                                                                       [--repo-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.

--project-name

The project name.

--repo-name

The repository 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 project repo update

Preview

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

Update a monitored Azure DevOps repository resource.

az security security-connector devops azuredevopsorg project repo update [--actionable-remediation]
                                                                         [--ids]
                                                                         [--name]
                                                                         [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                                         [--org-name]
                                                                         [--project-name]
                                                                         [--repo-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 --project-name myProject --repo-name myRepo  --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 --project-name myProject --repo-name myRepo  --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.

--project-name

The project name.

--repo-name

The repository 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 project repo wait

Preview

Command group 'az security security-connector devops azuredevopsorg project repo' 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 project repo wait [--created]
                                                                       [--custom]
                                                                       [--deleted]
                                                                       [--exists]
                                                                       [--ids]
                                                                       [--interval]
                                                                       [--name]
                                                                       [--org-name]
                                                                       [--project-name]
                                                                       [--repo-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.

--project-name

The project name.

--repo-name

The repository 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.