Skip to content

Commit 467c237

Browse files
committed
[client] Adapt to new expectations
1 parent b7cac94 commit 467c237

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

pyobas/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Filigran team"
2-
__copyright__ = "Copyright 2024 Filigran"
2+
__copyright__ = "Copyright 2025 Filigran"
33
__email__ = "[email protected]"
44
__license__ = "Apache 2.0"
55
__title__ = "python-openbas"

pyobas/apis/inject_expectation/model/expectation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class ExpectationTypeEnum(str, Enum):
1414

1515
Detection = "DETECTION"
1616
Prevention = "PREVENTION"
17+
Vulnerability = "VULNERABILITY"
1718
Other = "other"
1819

1920
@classmethod

pyobas/contracts/contract_config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ class ExpectationType(str, Enum):
4848
article: str = "ARTICLE"
4949
challenge: str = "CHALLENGE"
5050
manual: str = "MANUAL"
51-
technical: str = "TECHNICAL"
51+
prevention: str = "PREVENTION"
52+
detection: str = "DETECTION"
53+
vulnerability: str = "VULNERABILITY"
5254

5355

5456
@dataclass

0 commit comments

Comments
 (0)