Skip to main content

source_control_repositories

Creates, updates, deletes, gets or lists a source_control_repositories resource.

Overview

Namesource_control_repositories
TypeResource
Idazure.sentinel.source_control_repositories

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
branchesarrayArray of branches.
fullNamestringThe name of the repository.
installationIdinteger (int64)The installation id of the repository.
urlstringThe url to access the repository.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, workspaceNameGets a list of repositories metadata.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
workspaceNamestringThe name of the workspace.

SELECT examples

Gets a list of repositories metadata.

SELECT
branches,
fullName,
installationId,
url
FROM azure.sentinel.source_control_repositories
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
;