<span
className="badge little-spacer-left"
>
- issue.status.RESOLVED
+ hotspot.status.FIXED
</span>
<span
className="huge-spacer-left"
],
"tags": Array [],
},
- "resolution": "FALSE-POSITIVE",
+ "resolution": "FIXED",
"rule": Object {
"fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
"key": "squid:S2077",
"vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
"vulnerabilityProbability": "HIGH",
},
- "status": "RESOLVED",
+ "status": "REVIEWED",
"textRange": Object {
"endLine": 142,
"endOffset": 83,
],
"tags": Array [],
},
- "resolution": "FALSE-POSITIVE",
+ "resolution": "FIXED",
"rule": Object {
"fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
"key": "squid:S2077",
"vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
"vulnerabilityProbability": "HIGH",
},
- "status": "RESOLVED",
+ "status": "REVIEWED",
"textRange": Object {
"endLine": 142,
"endOffset": 83,
<span
className="badge little-spacer-left"
>
- issue.status.RESOLVED
+ hotspot.status.FIXED
</span>
<span
className="huge-spacer-left"
],
"tags": Array [],
},
- "resolution": "FALSE-POSITIVE",
+ "resolution": "FIXED",
"rule": Object {
"fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
"key": "squid:S2077",
"vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
"vulnerabilityProbability": "HIGH",
},
- "status": "RESOLVED",
+ "status": "REVIEWED",
"textRange": Object {
"endLine": 142,
"endOffset": 83,
],
"tags": Array [],
},
- "resolution": "FALSE-POSITIVE",
+ "resolution": "FIXED",
"rule": Object {
"fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
"key": "squid:S2077",
"vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
"vulnerabilityProbability": "HIGH",
},
- "status": "RESOLVED",
+ "status": "REVIEWED",
"textRange": Object {
"endLine": 142,
"endOffset": 83,
<span
className="badge little-spacer-left"
>
- issue.status.RESOLVED
+ hotspot.status.FIXED
</span>
<span
className="huge-spacer-left"
],
"tags": Array [],
},
- "resolution": "FALSE-POSITIVE",
+ "resolution": "FIXED",
"rule": Object {
"fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
"key": "squid:S2077",
"vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
"vulnerabilityProbability": "HIGH",
},
- "status": "RESOLVED",
+ "status": "REVIEWED",
"textRange": Object {
"endLine": 142,
"endOffset": 83,
],
"tags": Array [],
},
- "resolution": "FALSE-POSITIVE",
+ "resolution": "FIXED",
"rule": Object {
"fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
"key": "squid:S2077",
"vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
"vulnerabilityProbability": "HIGH",
},
- "status": "RESOLVED",
+ "status": "REVIEWED",
"textRange": Object {
"endLine": 142,
"endOffset": 83,
'3' is a magic number.
</h1>
<HotspotActions
- hotspotKey="01fc972e-2a3c-433e-bcae-0bd7f88f5123"
- hotspotStatus="RESOLVED"
+ hotspot={
+ Object {
+ "assignee": Object {
+ "active": true,
+ "local": true,
+ "login": "john.doe",
+ "name": "John Doe",
+ },
+ "author": Object {
+ "active": true,
+ "local": true,
+ "login": "john.doe",
+ "name": "John Doe",
+ },
+ "component": Object {
+ "breadcrumbs": Array [],
+ "key": "my-project",
+ "name": "MyProject",
+ "organization": "foo",
+ "qualifier": "FIL",
+ "qualityGate": Object {
+ "isDefault": true,
+ "key": "30",
+ "name": "Sonar way",
+ },
+ "qualityProfiles": Array [
+ Object {
+ "deleted": false,
+ "key": "my-qp",
+ "language": "ts",
+ "name": "Sonar way",
+ },
+ ],
+ "tags": Array [],
+ },
+ "creationDate": "2013-05-13T17:55:41+0200",
+ "key": "01fc972e-2a3c-433e-bcae-0bd7f88f5123",
+ "line": 142,
+ "message": "'3' is a magic number.",
+ "project": Object {
+ "breadcrumbs": Array [],
+ "key": "my-project",
+ "name": "MyProject",
+ "organization": "foo",
+ "qualifier": "TRK",
+ "qualityGate": Object {
+ "isDefault": true,
+ "key": "30",
+ "name": "Sonar way",
+ },
+ "qualityProfiles": Array [
+ Object {
+ "deleted": false,
+ "key": "my-qp",
+ "language": "ts",
+ "name": "Sonar way",
+ },
+ ],
+ "tags": Array [],
+ },
+ "resolution": "FIXED",
+ "rule": Object {
+ "fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
+ "key": "squid:S2077",
+ "name": "That rule",
+ "riskDescription": "<p>This a <strong>strong</strong> message about risk !</p>",
+ "securityCategory": "sql-injection",
+ "vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
+ "vulnerabilityProbability": "HIGH",
+ },
+ "status": "REVIEWED",
+ "textRange": Object {
+ "endLine": 142,
+ "endOffset": 83,
+ "startLine": 142,
+ "startOffset": 26,
+ },
+ "updateDate": "2013-05-13T17:55:42+0200",
+ }
+ }
onSubmit={[MockFunction]}
/>
</div>
<span
className="badge little-spacer-left"
>
- issue.status.RESOLVED
+ hotspot.status.FIXED
</span>
<span
className="huge-spacer-left"
],
"tags": Array [],
},
- "resolution": "FALSE-POSITIVE",
+ "resolution": "FIXED",
"rule": Object {
"fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
"key": "squid:S2077",
"vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
"vulnerabilityProbability": "HIGH",
},
- "status": "RESOLVED",
+ "status": "REVIEWED",
"textRange": Object {
"endLine": 142,
"endOffset": 83,
],
"tags": Array [],
},
- "resolution": "FALSE-POSITIVE",
+ "resolution": "FIXED",
"rule": Object {
"fixRecommendations": "<p>This a <strong>strong</strong> message about fixing !</p>",
"key": "squid:S2077",
"vulnerabilityDescription": "<p>This a <strong>strong</strong> message about vulnerability !</p>",
"vulnerabilityProbability": "HIGH",
},
- "status": "RESOLVED",
+ "status": "REVIEWED",
"textRange": Object {
"endLine": 142,
"endOffset": 83,