feat(sample gh action):

This commit is contained in:
Alexander Myasoedov
2025-01-02 01:38:05 +02:00
parent a638f3bb67
commit dc873e87d3
2 changed files with 78 additions and 0 deletions
+5
View File
@@ -171,7 +171,12 @@ class AgenticSecurity:
optimize: bool = False,
enableMultiStepAttack: bool = False,
probe_datasets: list[dict] = [],
only: list[str] = [],
):
if only:
datasets = [d for d in datasets if d["dataset_name"] in only]
for d in datasets:
d["selected"] = True
return asyncio.run(
cls.async_scan(
llmSpec=llmSpec,