RULEAPI-614: mark unpredictable remediation cost

This commit is contained in:
Fred Tingaud 2022-01-19 16:39:02 +01:00 committed by GitHub
parent f3384de644
commit ebfa8932d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
26 changed files with 33 additions and 51 deletions

View File

@ -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)$"
}
}
}

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "ready",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [
"cwe"

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "ready",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [
"cwe"

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "closed",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "ready",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "closed",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "closed",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "closed",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "closed",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "closed",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "closed",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "closed",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "closed",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "ready",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "closed",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [
"bug"

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "ready",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -1,7 +1,6 @@
{
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"sqKey": "ParsingError"
}

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "ready",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [
"maven"

View File

@ -3,8 +3,7 @@
"type": "BUG",
"status": "ready",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [
"denial-of-service"

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "closed",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [
"finding",

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "ready",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "ready",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "ready",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -3,8 +3,7 @@
"type": "BUG",
"status": "closed",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [
"antipattern",

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "ready",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [

View File

@ -3,8 +3,7 @@
"type": "CODE_SMELL",
"status": "ready",
"remediation": {
"func": "Constant\/Issue",
"constantCost": "0min"
"func": "Unpredictable"
},
"tags": [
"java10"