Create rule S6340
This commit is contained in:
parent
3d74faecbb
commit
813c417c57
2
rules/S6340/metadata.json
Normal file
2
rules/S6340/metadata.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
16
rules/S6340/secrets/metadata.json
Normal file
16
rules/S6340/secrets/metadata.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"title": "FIXME",
|
||||||
|
"type": "CODE_SMELL",
|
||||||
|
"status": "ready",
|
||||||
|
"remediation": {
|
||||||
|
"func": "Constant\/Issue",
|
||||||
|
"constantCost": "5min"
|
||||||
|
},
|
||||||
|
"tags": [
|
||||||
|
],
|
||||||
|
"defaultSeverity": "Major",
|
||||||
|
"ruleSpecification": "RSPEC-6340",
|
||||||
|
"sqKey": "S6340",
|
||||||
|
"scope": "All",
|
||||||
|
"defaultQualityProfiles": ["Sonar way"]
|
||||||
|
}
|
20
rules/S6340/secrets/rule.adoc
Normal file
20
rules/S6340/secrets/rule.adoc
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
FIXME: add a description
|
||||||
|
|
||||||
|
// If you want to factorize the description uncomment the following line and create the file.
|
||||||
|
//include::../description.adoc[]
|
||||||
|
|
||||||
|
== Noncompliant Code Example
|
||||||
|
|
||||||
|
----
|
||||||
|
FIXME
|
||||||
|
----
|
||||||
|
|
||||||
|
== Compliant Solution
|
||||||
|
|
||||||
|
----
|
||||||
|
FIXME
|
||||||
|
----
|
||||||
|
|
||||||
|
== See
|
||||||
|
|
||||||
|
FIXME: A list of links
|
Loading…
x
Reference in New Issue
Block a user