You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
security-command-center: no code samples for managing security marks on assets #9593
priority: p2Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
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.
Asset APIs are not carried over to the V2 API as they are deprecated. Hence security marks are only for findings in the V2 API. This is by design and we don't need V2 equivalents of asset samples that are currently in V1.
I discussed this offline with @owenhuyn, and he agreed that security marks for assets are supported in the v2 API. Other methods related to assets are not supported in v2.
priority: p2Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
Activity
owenhuyn commentedon Oct 18, 2024
Asset APIs are not carried over to the V2 API as they are deprecated. Hence security marks are only for findings in the V2 API. This is by design and we don't need V2 equivalents of asset samples that are currently in V1.
hegemonic commentedon Oct 18, 2024
I discussed this offline with @owenhuyn, and he agreed that security marks for assets are supported in the v2 API. Other methods related to assets are not supported in v2.
For example, see the
organizations.assets.updateSecurityMarksmethod in the SCC v2 API.