Skip to content

Commit cd0b017

Browse files
committed
Merge branch 'main' into feature/add-compliance-tags
2 parents e2f8914 + 8aaa668 commit cd0b017

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/renovate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
GITHUB_TOKEN: "${{ steps.app-token.outputs.token }}"
8181

8282
- name: Renovate
83-
uses: renovatebot/github-action@8cb0d4a6ab7d8bb90460a005f7bd33b80dd07ca8 # v44.2.5
83+
uses: renovatebot/github-action@eaf12548c13069dcc28bb75c4ee4610cdbe400c5 # v44.2.6
8484
with:
8585
configurationFile: "${{ env.RENOVATE_ONBOARDING_CONFIG_FILE_NAME }}"
8686
token: "${{ steps.app-token.outputs.token }}"

tests/airt/test_attack_compliance_tags.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Tests for attack compliance tags."""
22

3-
43
from dreadnode.airt.attack.crescendo import COMPLIANCE_TAGS as CRESCENDO_TAGS
54
from dreadnode.airt.attack.goat import COMPLIANCE_TAGS as GOAT_TAGS
65
from dreadnode.airt.attack.prompt import COMPLIANCE_TAGS as PROMPT_TAGS

tests/airt/test_compliance.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Tests for compliance framework tags."""
22

3-
43
from dreadnode.airt.compliance import (
54
ATLASTechnique,
65
NISTAIRMFFunction,
@@ -68,7 +67,10 @@ def test_tag_attack_multiple_values() -> None:
6867
"""Tag attack with multiple values."""
6968
tags = tag_attack(
7069
atlas=[ATLASTechnique.PROMPT_INJECTION, ATLASTechnique.LLM_JAILBREAK],
71-
owasp=[OWASPCategory.LLM01_PROMPT_INJECTION, OWASPCategory.LLM02_SENSITIVE_INFORMATION_DISCLOSURE],
70+
owasp=[
71+
OWASPCategory.LLM01_PROMPT_INJECTION,
72+
OWASPCategory.LLM02_SENSITIVE_INFORMATION_DISCLOSURE,
73+
],
7274
saif=[SAIFCategory.INPUT_MANIPULATION, SAIFCategory.PRIVACY_LEAKAGE],
7375
)
7476

0 commit comments

Comments
 (0)