-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
In which file did you encounter the issue?
Did you change the file? If so, how?
no
Describe the issue
There are no code samples that show how to use Security Command Center v2 to manage security marks for assets. We only have code samples for security marks on findings.
We need v2 equivalents of several v1 snippets from this file: https://github.com/googleapis/google-cloud-java/blob/cff95fd0631777a9a8f077848c39d458c7e5b339/google-cloud-examples/src/main/java/com/google/cloud/examples/securitycenter/snippets/SecurityMarkSnippets.java
Specifically, we need v2 equivalents of the samples with the following region tags:
securitycenter_add_security_marks
securitycenter_delete_security_marks
securitycenter_add_delete_security_marks
cc: @owenhuyn
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.