github_owners
Creates, updates, deletes, gets or lists a github_owners resource.
Overview
| Name | github_owners |
| Type | Resource |
| Id | azure.security.github_owners |
Fields
The following fields are returned by SELECT queries:
- get
- list
Provides GitHub owner details
| Name | Datatype | Description |
|---|---|---|
properties | object | GitHub Owner properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Provides list of GitHub owner resources
| Name | Datatype | Description |
|---|---|---|
properties | object | GitHub Owner properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, resourceGroupName, securityConnectorName, ownerName | ||
list | select | subscriptionId, resourceGroupName, securityConnectorName |
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.
| Name | Datatype | Description |
|---|---|---|
ownerName | string | The GitHub owner name. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
securityConnectorName | string | The security connector name. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT examples
- get
- list
Provides GitHub owner details
SELECT
properties,
systemData
FROM azure.security.github_owners
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND securityConnectorName = '{{ securityConnectorName }}' -- required
AND ownerName = '{{ ownerName }}' -- required
;
Provides list of GitHub owner resources
SELECT
properties,
systemData
FROM azure.security.github_owners
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND securityConnectorName = '{{ securityConnectorName }}' -- required
;