azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

[Security] Initialize Security Autogenerated Modules

Open ivadim opened this issue 1 year ago • 3 comments

Description

This PR adds the commands for api-collections and security-connectors APIs Covering next REST specs:

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/securityConnectorsDevOps.json https://github.com/Azure/azure-rest-api-specs/blob/main/specification/security/resource-manager/Microsoft.Security/preview/2023-10-01-preview/securityConnectors.json https://github.com/Azure/azure-rest-api-specs/blob/main/specification/security/resource-manager/Microsoft.Security/stable/2023-11-15/apiCollections.json

Mandatory Checklist

  • Please choose the target release of Azure PowerShell

    • [ ] General release
    • [ ] Public preview
    • [ ] Private preview
    • [ ] Engineering build
    • [x] N/A
  • [x] Check this box to confirm: I have read the Submitting Changes section of CONTRIBUTING.md and reviewed the following information:

  • SHOULD update ChangeLog.md file(s) appropriately
    • For SDK-based development mode, update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • For autorest-based development mode, include the changelog in the PR description.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

ivadim avatar Feb 14 '24 01:02 ivadim

️✔️Az.Accounts
️✔️Build
️✔️PowerShell Core - Windows
⚠️Az.Security
️✔️Build
️✔️PowerShell Core - Windows
️✔️Breaking Change Check
️✔️PowerShell Core - Windows
⚠️Signature Check
⚠️PowerShell Core - Windows
Type Cmdlet Description Remediation
⚠️ Get-AzSecurityApiCollection Get-AzSecurityApiCollection Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzSecurityApiCollection Get-AzSecurityApiCollection changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzSecurityConnector Get-AzSecurityConnector Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzSecurityConnector Get-AzSecurityConnector changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzSecurityConnectorAzureDevOpsOrg Get-AzSecurityConnectorAzureDevOpsOrg Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzSecurityConnectorAzureDevOpsOrg Get-AzSecurityConnectorAzureDevOpsOrg changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzSecurityConnectorAzureDevOpsProject Get-AzSecurityConnectorAzureDevOpsProject Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzSecurityConnectorAzureDevOpsProject Get-AzSecurityConnectorAzureDevOpsProject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzSecurityConnectorAzureDevOpsRepo Get-AzSecurityConnectorAzureDevOpsRepo Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzSecurityConnectorAzureDevOpsRepo Get-AzSecurityConnectorAzureDevOpsRepo changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzSecurityConnectorDevOpsConfiguration Get-AzSecurityConnectorDevOpsConfiguration Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzSecurityConnectorDevOpsConfiguration Get-AzSecurityConnectorDevOpsConfiguration changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzSecurityConnectorGitHubOwner Get-AzSecurityConnectorGitHubOwner Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzSecurityConnectorGitHubOwner Get-AzSecurityConnectorGitHubOwner changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzSecurityConnectorGitHubRepo Get-AzSecurityConnectorGitHubRepo Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzSecurityConnectorGitHubRepo Get-AzSecurityConnectorGitHubRepo changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzSecurityConnectorGitLabGroup Get-AzSecurityConnectorGitLabGroup Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzSecurityConnectorGitLabGroup Get-AzSecurityConnectorGitLabGroup changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ Get-AzSecurityConnectorGitLabProject Get-AzSecurityConnectorGitLabProject Changes the ConfirmImpact but does not set the SupportsShouldProcess property to true in the cmdlet attribute. Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue
⚠️ Get-AzSecurityConnectorGitLabProject Get-AzSecurityConnectorGitLabProject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityAwsEnvironmentObject New-AzSecurityAwsEnvironmentObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityAwsOrganizationalDataMasterObject New-AzSecurityAwsOrganizationalDataMasterObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityAwsOrganizationalDataMemberObject New-AzSecurityAwsOrganizationalDataMemberObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityAzureDevOpsScopeEnvironmentObject New-AzSecurityAzureDevOpsScopeEnvironmentObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityConnectorActionableRemediationObject New-AzSecurityConnectorActionableRemediationObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityCspmMonitorAwsOfferingObject New-AzSecurityCspmMonitorAwsOfferingObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityCspmMonitorAzureDevOpsOfferingObject New-AzSecurityCspmMonitorAzureDevOpsOfferingObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityCspmMonitorGcpOfferingObject New-AzSecurityCspmMonitorGcpOfferingObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityCspmMonitorGithubOfferingObject New-AzSecurityCspmMonitorGithubOfferingObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityCspmMonitorGitLabOfferingObject New-AzSecurityCspmMonitorGitLabOfferingObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityDefenderCspmAwsOfferingObject New-AzSecurityDefenderCspmAwsOfferingObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityDefenderCspmGcpOfferingObject New-AzSecurityDefenderCspmGcpOfferingObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityDefenderForContainersAwsOfferingObject New-AzSecurityDefenderForContainersAwsOfferingObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityDefenderForContainersGcpOfferingObject New-AzSecurityDefenderForContainersGcpOfferingObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityDefenderForDatabasesAwsOfferingObject New-AzSecurityDefenderForDatabasesAwsOfferingObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityDefenderForDatabasesGcpOfferingObject New-AzSecurityDefenderForDatabasesGcpOfferingObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityDefenderForServersAwsOfferingObject New-AzSecurityDefenderForServersAwsOfferingObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityDefenderForServersGcpOfferingObject New-AzSecurityDefenderForServersGcpOfferingObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityGcpOrganizationalDataMemberObject New-AzSecurityGcpOrganizationalDataMemberObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityGcpOrganizationalDataOrganizationObject New-AzSecurityGcpOrganizationalDataOrganizationObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityGcpProjectEnvironmentObject New-AzSecurityGcpProjectEnvironmentObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityGitHubScopeEnvironmentObject New-AzSecurityGitHubScopeEnvironmentObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityGitLabScopeEnvironmentObject New-AzSecurityGitLabScopeEnvironmentObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️ New-AzSecurityInformationProtectionAwsOfferingObject New-AzSecurityInformationProtectionAwsOfferingObject changes the confirm impact. Please ensure that the change in ConfirmImpact is justified Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact.
⚠️Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzSecurityConnector 3 3 Mismatched_Parameter_Value_Type New-AzSecurityConnector -HierarchyIdentifier ([guid]::NewGuid().ToString()) is not an expected parameter value type. -HierarchyIdentifier Use correct parameter value type. Expected Type is string. Now the type is guid.(Type).
⚠️ New-AzSecurityConnector 4 3 Mismatched_Parameter_Value_Type New-AzSecurityConnector -HierarchyIdentifier ([guid]::NewGuid().ToString()) is not an expected parameter value type. -HierarchyIdentifier Use correct parameter value type. Expected Type is string. Now the type is guid.(Type).
⚠️ New-AzSecurityConnector 5 3 Mismatched_Parameter_Value_Type New-AzSecurityConnector -HierarchyIdentifier ([guid]::NewGuid().ToString()) is not an expected parameter value type. -HierarchyIdentifier Use correct parameter value type. Expected Type is string. Now the type is guid.(Type).
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
⚠️File Change Check
⚠️PowerShell Core - Windows
Type Cmdlet Description Remediation
⚠️ It is required to update ChangeLog.md if you want to release a new version for Az.Security. Add a changelog record under Upcoming Release section with past tense.
️✔️UX Metadata Check
️✔️PowerShell Core - Windows
⚠️Test
⚠️ - Linux
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 35.82 % Test coverage for the module cannot be lower than 50%.
⚠️ - MacOS
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 35.82% Test coverage for the module cannot be lower than 50%.
⚠️PowerShell Core - Windows
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 35.82% Test coverage for the module cannot be lower than 50%.

Adding docs and examples while waiting design review https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/1411

ivadim avatar Feb 14 '24 01:02 ivadim

This PR was labeled "needs-revision" because it has unresolved review comments or CI failures. Please resolve all open review comments and make sure all CI checks are green. Refer to our guide to troubleshoot common CI failures.

github-actions[bot] avatar Feb 18 '24 06:02 github-actions[bot]

Not use a normal operationId https://github.com/Azure/azure-rest-api-specs/blob/ff9fb162a8a79531058ec5c43c49169c92311717/specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/securityConnectorsDevOps.json#L19

msJinLei avatar Feb 26 '24 10:02 msJinLei