We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1c2787 commit 5c79a7dCopy full SHA for 5c79a7d
pyobas/contracts/contract_config.py
@@ -36,6 +36,7 @@ class ContractOutputType(str, Enum):
36
Text: str = "text"
37
Number: str = "number"
38
Port: str = "port"
39
+ PortsScan: str = "portscan"
40
IPv4: str = "ipv4"
41
IPv6: str = "ipv6"
42
@@ -70,6 +71,8 @@ class ContractElement(ABC):
70
71
label: str
72
type: str = field(default="", init=False)
73
mandatoryGroups: List[str] = None
74
+ mandatoryConditionField: str = None
75
+ mandatoryConditionValue: str = None
76
linkedFields: List["ContractElement"] = field(default_factory=list)
77
linkedValues: List[str] = field(default_factory=list)
78
mandatory: bool = False
@@ -95,6 +98,7 @@ class ContractOutputElement(ABC):
95
98
type: str
96
99
field: str
97
100
labels: List[str]
101
+ isFindingCompatible: bool
102
isMultiple: bool
103
104
0 commit comments