github_repos
Creates, updates, deletes, gets or lists a github_repos
resource.
Overview
Name | github_repos |
Type | Resource |
Id | azure.security.github_repos |
Fields
- vw_github_repos
- github_repos
Name | Datatype | Description |
---|---|---|
onboarding_state | text | field from the properties object |
ownerName | text | field from the properties object |
parent_owner_name | text | field from the properties object |
provisioning_state | text | field from the properties object |
provisioning_status_message | text | field from the properties object |
provisioning_status_update_time_utc | text | field from the properties object |
repoName | text | field from the properties object |
repo_full_name | text | field from the properties object |
repo_id | text | field from the properties object |
repo_name | text | field from the properties object |
repo_url | text | field from the properties object |
resourceGroupName | text | field from the properties object |
securityConnectorName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | GitHub Repository properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | ownerName, repoName, resourceGroupName, securityConnectorName, subscriptionId | |
list | SELECT | ownerName, resourceGroupName, securityConnectorName, subscriptionId |
SELECT
examples
- vw_github_repos
- github_repos
SELECT
onboarding_state,
ownerName,
parent_owner_name,
provisioning_state,
provisioning_status_message,
provisioning_status_update_time_utc,
repoName,
repo_full_name,
repo_id,
repo_name,
repo_url,
resourceGroupName,
securityConnectorName,
subscriptionId,
system_data
FROM azure.security.vw_github_repos
WHERE ownerName = '{{ ownerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND securityConnectorName = '{{ securityConnectorName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties,
systemData
FROM azure.security.github_repos
WHERE ownerName = '{{ ownerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND securityConnectorName = '{{ securityConnectorName }}'
AND subscriptionId = '{{ subscriptionId }}';