@sectester/reporter 0.39.0 → 0.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/__fixtures__/issues.d.ts +3 -3
- package/src/__fixtures__/issues.js +2 -2
- package/src/__fixtures__/issues.js.map +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ formatter.format(issue);
|
|
|
54
54
|
<summary>Sample output</summary>
|
|
55
55
|
|
|
56
56
|
```
|
|
57
|
-
Issue in Bright UI: https://app.
|
|
57
|
+
Issue in Bright UI: https://app.brightsec.com/scans/djoqtSDRJYaR6sH8pfYpDX/issues/8iacauN1FH9vFvDCLoo42v
|
|
58
58
|
Name: Missing Strict-Transport-Security Header
|
|
59
59
|
Severity: Low
|
|
60
60
|
Remediation:
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpMethod, Severity } from '@sectester/scan';
|
|
2
|
-
export declare const issueWithoutResourcesText = "Issue in Bright UI: http://app.
|
|
2
|
+
export declare const issueWithoutResourcesText = "Issue in Bright UI: http://app.brightsec.com/scans/pDzxcEXQC8df1fcz1QwPf9/issues/pDzxcEXQC8df1fcz1QwPf9\nName: Database connection crashed\nSeverity: Medium\nRemediation:\nThe best way to protect against those kind of issues is making sure the Database resources are sufficient\nDetails:\nCross-site request forgery is a type of malicious website exploit.";
|
|
3
3
|
export declare const issueWithoutResources: {
|
|
4
4
|
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
5
5
|
details: string;
|
|
@@ -20,7 +20,7 @@ export declare const issueWithoutResources: {
|
|
|
20
20
|
link: string;
|
|
21
21
|
certainty: true;
|
|
22
22
|
};
|
|
23
|
-
export declare const fullyDescribedIssueText = "Issue in Bright UI: http://app.
|
|
23
|
+
export declare const fullyDescribedIssueText = "Issue in Bright UI: http://app.brightsec.com/scans/pDzxcEXQC8df1fcz1QwPf9/issues/pDzxcEXQC8df1fcz1QwPf9\nName: Database connection crashed\nSeverity: Medium\nRemediation:\nThe best way to protect against those kind of issues is making sure the Database resources are sufficient\nDetails:\nCross-site request forgery is a type of malicious website exploit.\nExtra Details:\n\u25CF Missing Strict-Transport-Security Header\n\tThe engine detected a missing Strict-Transport-Security header, which might cause data to be sent insecurely from the client to the server.\n\tLinks:\n\t\u25CF https://www.owasp.org/index.php/OWASP_Secure_Headers_Project#hsts\nReferences:\n\u25CF https://www.owasp.org/index.php/OWASP_Secure_Headers_Project#hsts";
|
|
24
24
|
export declare const fullyDescribedIssue: {
|
|
25
25
|
comments: {
|
|
26
26
|
headline: string;
|
|
@@ -47,7 +47,7 @@ export declare const fullyDescribedIssue: {
|
|
|
47
47
|
link: string;
|
|
48
48
|
certainty: true;
|
|
49
49
|
};
|
|
50
|
-
export declare const issueWithoutExtraInfoText = "Issue in Bright UI: http://app.
|
|
50
|
+
export declare const issueWithoutExtraInfoText = "Issue in Bright UI: http://app.brightsec.com/scans/pDzxcEXQC8df1fcz1QwPf9/issues/pDzxcEXQC8df1fcz1QwPf9\nName: Database connection crashed\nSeverity: Medium\nRemediation:\nThe best way to protect against those kind of issues is making sure the Database resources are sufficient\nDetails:\nCross-site request forgery is a type of malicious website exploit.\nReferences:\n \u25CF https://www.owasp.org/index.php/OWASP_Secure_Headers_Project#hsts";
|
|
51
51
|
export declare const issueWithoutExtraInfo: {
|
|
52
52
|
resources: string[];
|
|
53
53
|
id: `${string}-${string}-${string}-${string}-${string}`;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.issueWithoutExtraInfo = exports.issueWithoutExtraInfoText = exports.fullyDescribedIssue = exports.fullyDescribedIssueText = exports.issueWithoutResources = exports.issueWithoutResourcesText = void 0;
|
|
4
4
|
const scan_1 = require("@sectester/scan");
|
|
5
5
|
const crypto_1 = require("crypto");
|
|
6
|
-
exports.issueWithoutResourcesText = `Issue in Bright UI: http://app.
|
|
6
|
+
exports.issueWithoutResourcesText = `Issue in Bright UI: http://app.brightsec.com/scans/pDzxcEXQC8df1fcz1QwPf9/issues/pDzxcEXQC8df1fcz1QwPf9
|
|
7
7
|
Name: Database connection crashed
|
|
8
8
|
Severity: Medium
|
|
9
9
|
Remediation:
|
|
@@ -27,7 +27,7 @@ exports.issueWithoutResources = {
|
|
|
27
27
|
method: scan_1.HttpMethod.GET,
|
|
28
28
|
url: 'https://brokencrystals.com/'
|
|
29
29
|
},
|
|
30
|
-
link: 'http://app.
|
|
30
|
+
link: 'http://app.brightsec.com/scans/pDzxcEXQC8df1fcz1QwPf9/issues/pDzxcEXQC8df1fcz1QwPf9',
|
|
31
31
|
certainty: true
|
|
32
32
|
};
|
|
33
33
|
exports.fullyDescribedIssueText = `${exports.issueWithoutResourcesText}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issues.js","sourceRoot":"","sources":["../../../../../packages/reporter/src/__fixtures__/issues.ts"],"names":[],"mappings":";;;AAAA,0CAA8D;AAC9D,mCAAoC;AAEvB,QAAA,yBAAyB,GAAG;;;;;;mEAM0B,CAAC;AACvD,QAAA,qBAAqB,GAAG;IACnC,EAAE,EAAE,IAAA,mBAAU,GAAE;IAChB,OAAO,EAAE,oEAAoE;IAC7E,IAAI,EAAE,6BAA6B;IACnC,QAAQ,EAAE,eAAQ,CAAC,MAAM;IACzB,QAAQ,EAAE,MAAM;IAChB,MAAM,EACJ,2GAA2G;IAC7G,IAAI,EAAE,8CAA8C;IACpD,IAAI,EAAE,IAAI,IAAI,EAAE;IAChB,eAAe,EAAE;QACf,MAAM,EAAE,iBAAU,CAAC,GAAG;QACtB,GAAG,EAAE,6BAA6B;KACnC;IACD,OAAO,EAAE;QACP,MAAM,EAAE,iBAAU,CAAC,GAAG;QACtB,GAAG,EAAE,6BAA6B;KACnC;IACD,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"issues.js","sourceRoot":"","sources":["../../../../../packages/reporter/src/__fixtures__/issues.ts"],"names":[],"mappings":";;;AAAA,0CAA8D;AAC9D,mCAAoC;AAEvB,QAAA,yBAAyB,GAAG;;;;;;mEAM0B,CAAC;AACvD,QAAA,qBAAqB,GAAG;IACnC,EAAE,EAAE,IAAA,mBAAU,GAAE;IAChB,OAAO,EAAE,oEAAoE;IAC7E,IAAI,EAAE,6BAA6B;IACnC,QAAQ,EAAE,eAAQ,CAAC,MAAM;IACzB,QAAQ,EAAE,MAAM;IAChB,MAAM,EACJ,2GAA2G;IAC7G,IAAI,EAAE,8CAA8C;IACpD,IAAI,EAAE,IAAI,IAAI,EAAE;IAChB,eAAe,EAAE;QACf,MAAM,EAAE,iBAAU,CAAC,GAAG;QACtB,GAAG,EAAE,6BAA6B;KACnC;IACD,OAAO,EAAE;QACP,MAAM,EAAE,iBAAU,CAAC,GAAG;QACtB,GAAG,EAAE,6BAA6B;KACnC;IACD,IAAI,EAAE,qFAAqF;IAC3F,SAAS,EAAE,IAAI;CACA,CAAC;AAEL,QAAA,uBAAuB,GAAG,GAAG,iCAAyB;;;;;;;oEAOC,CAAC;AACxD,QAAA,mBAAmB,GAAG;IACjC,GAAG,6BAAqB;IACxB,QAAQ,EAAE;QACR;YACE,QAAQ,EAAE,0CAA0C;YACpD,IAAI,EAAE,6IAA6I;YACnJ,KAAK,EAAE;gBACL,mEAAmE;aACpE;SACF;KACF;IACD,SAAS,EAAE;QACT,mEAAmE;KACpE;CACF,CAAC;AACW,QAAA,yBAAyB,GAAG,GAAG,iCAAyB;;qEAEA,CAAC;AACzD,QAAA,qBAAqB,GAAG;IACnC,GAAG,6BAAqB;IACxB,SAAS,EAAE;QACT,mEAAmE;KACpE;CACc,CAAC"}
|