RULEAPI-614: mark unpredictable remediation cost
This commit is contained in:
parent
f3384de644
commit
ebfa8932d1
@ -77,6 +77,13 @@
|
||||
"$ref": "#/definitions/time"
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"func": {
|
||||
"const": "Unpredictable"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -231,7 +238,7 @@
|
||||
"definitions": {
|
||||
"time": {
|
||||
"type": "string",
|
||||
"pattern": "^[ ]*[0-9]+[ ]*(mn|min|h|d)$"
|
||||
"pattern": "^[ ]*[1-9][0-9]*[ ]*(mn|min|h|d)$"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "ready",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
"cwe"
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "ready",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
"cwe"
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "closed",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "ready",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "closed",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "closed",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "closed",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "closed",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "closed",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "closed",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "closed",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "closed",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "ready",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "closed",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
"bug"
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "ready",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"sqKey": "ParsingError"
|
||||
}
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "ready",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
"maven"
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "BUG",
|
||||
"status": "ready",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
"denial-of-service"
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "closed",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
"finding",
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "ready",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "ready",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "ready",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "BUG",
|
||||
"status": "closed",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
"antipattern",
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "ready",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
"type": "CODE_SMELL",
|
||||
"status": "ready",
|
||||
"remediation": {
|
||||
"func": "Constant\/Issue",
|
||||
"constantCost": "0min"
|
||||
"func": "Unpredictable"
|
||||
},
|
||||
"tags": [
|
||||
"java10"
|
||||
|
Loading…
x
Reference in New Issue
Block a user