a2a-source-edit: write agent.py
This commit is contained in:
10
agent.py
10
agent.py
@@ -8,7 +8,6 @@ caller-configured; when they are absent the corresponding evidence is marked as
|
|||||||
"""
|
"""
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import asyncio
|
|
||||||
import hashlib
|
import hashlib
|
||||||
import json
|
import json
|
||||||
import re
|
import re
|
||||||
@@ -113,6 +112,15 @@ class ProbeMode(str, Enum):
|
|||||||
SYNTHETIC = "synthetic"
|
SYNTHETIC = "synthetic"
|
||||||
|
|
||||||
|
|
||||||
|
class AuditScope(str, Enum):
|
||||||
|
CARD = "card"
|
||||||
|
CONFIGURATION = "configuration"
|
||||||
|
RUNTIME = "runtime"
|
||||||
|
REPOSITORY = "repository"
|
||||||
|
RISK = "risk"
|
||||||
|
REMEDIATION = "remediation"
|
||||||
|
|
||||||
|
|
||||||
class Evidence(StrictModel):
|
class Evidence(StrictModel):
|
||||||
id: str
|
id: str
|
||||||
source: str
|
source: str
|
||||||
|
|||||||
Reference in New Issue
Block a user