Add Labels
Focus
Focus
Prisma AIRS

Add Labels

Table of Contents


Add Labels

Add new labels or modify existing ones on a scan.

AddLabels API

Add new labels or modify existing ones on a scan. When a label key already exists, the previous value will be replaced:
Using CLI
model-security add-labels 550e8400-e29b-41d4-a716-446655440000 \ -l owner=alice \ -l priority=high \ -l reviewed=true
Using Python SDK
from uuid import UUID scan_uuid = UUID("550e8400-e29b-41d4-a716-446655440000") # Add new labels or update existing ones client.add_scan_labels( scan_uuid=scan_uuid, labels={ "owner": "alice", "priority": "high", "reviewed": "true" } )