Get-AzSecurityConnectorGitLabProject
Returns a monitored GitLab Project resource for a given fully-qualified group name and project name.
Syntax
Get-AzSecurityConnectorGitLabProject
-GroupFqName <String>
-ResourceGroupName <String>
-SecurityConnectorName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzSecurityConnectorGitLabProject
-GroupFqName <String>
-ProjectName <String>
-ResourceGroupName <String>
-SecurityConnectorName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzSecurityConnectorGitLabProject
-InputObject <ISecurityIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Returns a monitored GitLab Project resource for a given fully-qualified group name and project name.
Examples
Example 1: Get discovered GitLab project by name
Get-AzSecurityConnectorGitLabProject -ResourceGroupName dfdtest-sdk -SecurityConnectorName dfdsdktests-gl-01 -GroupFqName dfdsdktests -ProjectName testapp0
FullyQualifiedFriendlyName : Defender for DevOps SDK Tests / TestApp0
FullyQualifiedName : dfdsdktests$testapp0
FullyQualifiedParentGroupName : dfdsdktests
Id : /subscriptions/487bb485-b5b0-471e-9c0d-10717612f869/resourceGroups/dfdtest-sdk/providers/Microsoft.Security/securityConnectors/dfdsdktests-gl-01/devops/default/gitLabGroups/dfdsdktests/projects/testapp0
Name : testapp0
OnboardingState : Onboarded
ProvisioningState : Succeeded
ProvisioningStatusMessage : Resource modification successful.
ProvisioningStatusUpdateTimeUtc : 1/1/1970 12:00:00 AM
ResourceGroupName : dfdtest-sdk
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Type : Microsoft.Security/securityConnectors/devops/gitLabGroups/projects
Url : https://gitlab.com/dfdsdktests/testapp0
Example 2: List discovered GitLab projects
Get-AzSecurityConnectorGitLabProject -ResourceGroupName dfdtest-sdk -SecurityConnectorName dfdsdktests-gl-01 -GroupFqName dfdsdktests
Name ResourceGroupName
---- -----------------
testapp10 dfdtest-sdk
testapp11 dfdtest-sdk
testapp0 dfdtest-sdk
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GroupFqName
The GitLab group fully-qualified name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter
Type: | ISecurityIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ProjectName
The project name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group. The name is case insensitive.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SecurityConnectorName
The security connector name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
Azure subscription ID
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.