We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9e9e98 commit 1af81e3Copy full SHA for 1af81e3
pyobas/contracts/contract_config.py
@@ -104,10 +104,10 @@ class Contract:
104
]
105
+ VariableHelper.uri_variables()
106
)
107
- attack_patterns: List[str] = field(default_factory=list)
+ attack_patterns_external_ids: List[str] = field(default_factory=list)
108
109
def add_attack_pattern(self, var: str):
110
- self.attack_patterns.append(var)
+ self.attack_patterns_external_ids.append(var)
111
112
def add_variable(self, var: ContractVariable):
113
self.variables.append(var)
0 commit comments