Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
want to align with evaluations
  • Loading branch information
kseager committed Mar 29, 2025
commit 5d80c08f33defae8039500cf48db76e3a368361d
30 changes: 3 additions & 27 deletions specification/ai/Azure.AI.Projects/red-teams/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,6 @@ using Azure.Core.Traits;

namespace Azure.AI.Projects;

@doc("Status of the red-team scan.")
union Status {
string,

@doc("Scanning has not started.")
NotStarted: "NotStarted",

@doc("Scanning is starting.")
Starting: "Starting",

@doc("Scanning is running.")
Running: "Running",

@doc("Scanning is completed.")
Completed: "Completed",

@doc("Scanning has failed.")
Failed: "Failed"
}

@doc("Strategies for attacks.")
union AttackStrategy {
string,
Expand Down Expand Up @@ -129,11 +109,7 @@ model RedTeam {
@doc("Red team's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed.")
properties?: Record<string>;

@doc("Metadata containing createdBy and modifiedBy information.")
@visibility("Lifecycle.Read")
systemData?: SystemData;

@doc("Status of the red team. It is set by service and is read-only.")
@visibility("Lifecycle.Read")
status: Status;
@doc("Status of the red-team. It is set by service and is read-only.")
@visibility(Lifecycle.Read)
status?: string;
}