Skip to content

Commit

Permalink
add default exclusions to OSA Scans, improve gitignore, start to supp…
Browse files Browse the repository at this point in the history
…ort OSA Github issues
  • Loading branch information
miguelfreitas93 committed Jun 16, 2020
1 parent 9f52fc5 commit 837e6d5
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 21 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -8,4 +8,5 @@ cxcli.zip
log.log
report.xml
report.json
OSADependencies.json
OSADependencies.json
OsaReports
9 changes: 8 additions & 1 deletion src/cli/osa.js
Expand Up @@ -2,8 +2,10 @@ const core = require('@actions/core')
const path = require('path')
const utils = require('../utils/utils.js')
const inputs = require('../github/inputs.js')
const cxexclusions = require('../utils/exclusions.js')
const envs = process.env
const GITHUB_WORKSPACE = envs.GITHUB_WORKSPACE
const DEFAULT_FOLDER_EXCLUSIONS = cxexclusions.getOsaFolderExclusions()

function getOsaCmd(server, action, skipIfFail) {
if (utils.isValidUrl(server) && utils.isValidAction(action)) {
Expand All @@ -25,6 +27,11 @@ function getOsaCmd(server, action, skipIfFail) {
let osaFilesInclude = inputs.getString(inputs.CX_OSA_FILES_INCLUDE, false)
let osaFilesExclude = inputs.getString(inputs.CX_OSA_FILES_EXCLUDE, false)
let osaPathExclude = inputs.getString(inputs.CX_OSA_PATH_EXCLUDE, false)
if (osaPathExclude != DEFAULT_FOLDER_EXCLUSIONS && osaPathExclude.length > 0) {
osaPathExclude = DEFAULT_FOLDER_EXCLUSIONS + "," + osaPathExclude.trim()
} else {
osaPathExclude = DEFAULT_FOLDER_EXCLUSIONS
}
let osaReportHtml = inputs.getString(inputs.CX_OSA_REPORT_HTML, false)
let osaReportPDF = inputs.getString(inputs.CX_OSA_REPORT_PDF, false)
let osaDepth = inputs.getInt(inputs.CX_OSA_DEPTH, false)
Expand All @@ -36,7 +43,7 @@ function getOsaCmd(server, action, skipIfFail) {
core.info(inputs.CX_GITHUB_ISSUES + ' : ' + cxGithubIssues)
if (cxGithubIssues && cxGithubIssues != "false") {
if (!utils.isValidString(osaJson)) {
osaJson = GITHUB_WORKSPACE + path.sep + "report.json"
osaJson = GITHUB_WORKSPACE + path.sep + "OsaReports"
core.info(inputs.CX_OSA_JSON + ' will be the default: ' + osaJson)
} else {
core.info(inputs.CX_OSA_JSON + ' : ' + osaJson)
Expand Down
18 changes: 9 additions & 9 deletions src/github/github.js
@@ -1,6 +1,7 @@
const core = require('@actions/core')
const github = require('@actions/github')
const report = require('../report/report')
const sastreport = require('../report/sastreport')
const osareport = require('../report/osareport')
const inputs = require("./inputs")
const utils = require('../utils/utils')
const envs = process.env
Expand All @@ -11,7 +12,6 @@ const GITHUB_STATE_CLOSED = "closed"
const GITHUB_EVENT_PUSH = "push"
const GITHUB_EVENT_PULL_REQUEST = "pull_request"


function getToken() {
let token = ""
let createGithubIssues = inputs.getBoolean(inputs.CX_GITHUB_ISSUES, false)
Expand Down Expand Up @@ -51,8 +51,8 @@ async function createIssues(cxAction) {
const octokit = github.getOctokit(token)
if (octokit) {
if (cxAction == utils.SCAN) {
let xmlPath = report.getXmlReportPath(workspace)
let issues = report.getIssuesFromXml(xmlPath, repository, commitSha)
let xmlPath = sastreport.getXmlReportPath(workspace)
let issues = sastreport.getIssuesFromXml(xmlPath, repository, commitSha)
if (issues) {
let repositoryIssues = await getIssues(owner, repo, octokit)
let resolvedIssues = 0
Expand All @@ -62,13 +62,13 @@ async function createIssues(cxAction) {
for (let i = 0; i < issues.length; i++) {
let issue = issues[i]

const title = report.getTitle(issue)
const body = report.getBody(issue)
let issueGithubLabels = report.getLabels(githubLabels, issue)
const title = sastreport.getTitle(issue)
const body = sastreport.getBody(issue)
let issueGithubLabels = sastreport.getLabels(githubLabels, issue)


let state = GITHUB_STATE_OPEN
if (issue.resultState == report.NOT_EXPLOITABLE) {
if (issue.resultState == sastreport.NOT_EXPLOITABLE) {
state = GITHUB_STATE_CLOSED
}

Expand Down Expand Up @@ -106,7 +106,7 @@ async function createIssues(cxAction) {
}
}

let summary = report.getSummary(issues, newIssues, recurrentIssues, resolvedIssues, reopenedIssues)
let summary = sastreport.getSummary(issues, newIssues, recurrentIssues, resolvedIssues, reopenedIssues)
await createCommitComment(owner, repo, octokit, commitSha, summary, null, null)
if (event == GITHUB_EVENT_PULL_REQUEST) {
const pull_number = parseInt(envs.GITHUB_REF.replace("/merge", "").replace("refs/pull/", ""))
Expand Down
22 changes: 12 additions & 10 deletions src/index.js
Expand Up @@ -75,7 +75,7 @@ async function run() {
core.info("No " + inputs.CX_VERSION + " valid input provided : " + version + " version will be used instead of " + cxVersion.toString())
}

if(action == utils.SCA_SCAN || action == utils.ASYNC_SCA_SCAN){
if (action == utils.SCA_SCAN || action == utils.ASYNC_SCA_SCAN) {
//Force version for SCA
version = "2020"
}
Expand Down Expand Up @@ -173,15 +173,17 @@ async function run() {

core.info("[END] Read Inputs...\n")

try {
await cxcli.downloadCli(version, skipIfFail)
} catch (e) {
return inputs.coreError(e.message, skipIfFail)
}
try {
let output = await cxcli.executeCommand(command, skipIfFail)
} catch (e) {
return inputs.coreError(e.message, skipIfFail)
if (envs.TEST) {
try {
await cxcli.downloadCli(version, skipIfFail)
} catch (e) {
return inputs.coreError(e.message, skipIfFail)
}
try {
let output = await cxcli.executeCommand(command, skipIfFail)
} catch (e) {
return inputs.coreError(e.message, skipIfFail)
}
}
if (cxAction == utils.SCAN || cxAction == utils.OSA_SCAN) {
await cxgithub.createIssues(cxAction)
Expand Down
Empty file added src/report/osareport.js
Empty file.
File renamed without changes.

17 comments on commit 837e6d5

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My Test Comment

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My Test Comment

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Checkmarx][OSA]

Libraries Summary

Score Vulnerable and Outdated Vulnerable and Updated Non Vulnerable Total
High 4 2 165 171

Libraries Summary By Severity
High Vulnerables Libraries | Medium Vulnerables Libraries | Low Vulnerables Libraries | Non Vulnerable | Total
------------ | ------------ | ------------ | ------------
6 | 0 | 0|171


Result Summary Details

Results By Status

New Recurrent Resolved Reopened Total
0 20 0 0 20

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Checkmarx][OSA]

Libraries Summary

Score Vulnerable and Outdated Vulnerable and Updated Non Vulnerable Total
High 4 2 165 171

Libraries Summary By Severity

High Vulnerables Libraries Medium Vulnerables Libraries Low Vulnerables Libraries Non Vulnerable Total
6 0 0 165 171

Result Summary Details

Results By Status

New Recurrent Resolved Reopened Total
0 20 0 0 20

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Checkmarx][OSA]

Libraries Summary

Score Vulnerable and Outdated Vulnerable and Updated Non Vulnerable Total
High 4 2 165 171

Libraries Summary By Severity

High Vulnerables Libraries Medium Vulnerables Libraries Low Vulnerables Libraries Non Vulnerable Total
6 0 0 165 171

Result Summary Details

Results By Status

New Recurrent Resolved Reopened Total
0 20 0 0 20

Results By Severity - High

Library Version Risk Score CVE Recommendation
com.fasterxml.jackson.core:jackson-databind 2.10.2 8.8 CVE-2020-10969(https://nvd.nist.gov/vuln/detail/CVE-2020-10969) Upgrade to 2.10.4com.fasterxml.jackson.core:jackson-databind
Results By Severity - Medium
Library Version Risk Score CVE Recommendation
------------ ------------ ------------ ------------ ------------
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-9548(https://nvd.nist.gov/vuln/detail/CVE-2020-9548) Upgrade to 2.10.4
Results By Severity - Low
Library Version Risk Score CVE Recommendation
------------ ------------ ------------ ------------ ------------
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-9546(https://nvd.nist.gov/vuln/detail/CVE-2020-9546) Upgrade to 2.10.4

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Checkmarx][OSA]

Libraries Summary

Score Vulnerable and Outdated Vulnerable and Updated Non Vulnerable Total
High 4 2 165 171

Libraries Summary By Severity

High Vulnerables Libraries Medium Vulnerables Libraries Low Vulnerables Libraries Non Vulnerable Total
6 0 0 165 171

Result Summary Details

Results By Status

New Recurrent Resolved Reopened Total
0 20 0 0 20

Results By Severity - High

Library Version Risk Score CVE Recommendations
com.fasterxml.jackson.core:jackson-databind 2.10.2 8.8 CVE-2020-10969(https://nvd.nist.gov/vuln/detail/CVE-2020-10969) Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-8840(https://nvd.nist.gov/vuln/detail/CVE-2020-8840) Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-9547(https://nvd.nist.gov/vuln/detail/CVE-2020-9547) Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-11113(https://nvd.nist.gov/vuln/detail/CVE-2020-11113) Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-11620(https://nvd.nist.gov/vuln/detail/CVE-2020-11620) Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-11619(https://nvd.nist.gov/vuln/detail/CVE-2020-11619) Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 8.8 CVE-2020-10673(https://nvd.nist.gov/vuln/detail/CVE-2020-10673) Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-11111(https://nvd.nist.gov/vuln/detail/CVE-2020-11111) Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 8.8 CVE-2020-10672(https://nvd.nist.gov/vuln/detail/CVE-2020-10672) Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-11112(https://nvd.nist.gov/vuln/detail/CVE-2020-11112) Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 8.8 CVE-2020-10968(https://nvd.nist.gov/vuln/detail/CVE-2020-10968) Upgrade to 2.10.4
log4j:log4j 1.2.17 9.8 CVE-2019-17571(https://nvd.nist.gov/vuln/detail/CVE-2019-17571) Fix unavailable
org.springframework:spring-web 5.2.4.RELEASE 9.8 CVE-2016-1000027(https://nvd.nist.gov/vuln/detail/CVE-2016-1000027) Upgrade to 5.2.6.RELEASE
commons-collections:commons-collections 3.2.2 7.5 Cx78f40514-81ff(https://issues.apache.org/jira/browse/COLLECTIONS-701) Fix unavailable
org.json:json 20170516 7.5 Cx08fcacc9-cb99(stleary/JSON-java#372) Upgrade to 20190722
org.json:json 20170516 7.5 Cx2906ba70-607a(stleary/JSON-java#361) Upgrade to 20190722
org.json:json 20170516 7.5 Cxdb5a1032-eda2(stleary/JSON-java#484) Upgrade to 20190722
io.netty:netty-codec-http 4.1.46.Final 7.5 CVE-2019-16869(https://nvd.nist.gov/vuln/detail/CVE-2019-16869) Upgrade to 4.1.48.Final

Results By Severity - Medium

Library Version Risk Score CVE Recommendations
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-9548(https://nvd.nist.gov/vuln/detail/CVE-2020-9548) Upgrade to 2.10.4

Results By Severity - Low

Library Version Risk Score CVE Recommendations
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-9546(https://nvd.nist.gov/vuln/detail/CVE-2020-9546) Upgrade to 2.10.4

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Checkmarx][OSA]

Libraries Summary

Score Vulnerable and Outdated Vulnerable and Updated Non Vulnerable Total
High 4 2 165 171

Libraries Summary By Severity

High Vulnerables Libraries Medium Vulnerables Libraries Low Vulnerables Libraries Non Vulnerable Total
6 0 0 165 171

Result Summary Details

Results By Status

New Recurrent Resolved Reopened Total
0 20 0 0 20

Results By Severity - High

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations
com.fasterxml.jackson.core:jackson-databind 2.10.2 8.8 CVE-2020-10969 (https://nvd.nist.gov/vuln/detail/CVE-2020-10969) 2020-03-26T13:15:00 100 2.10.4 2020-05-02T22:37:28 4 Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-8840 (https://nvd.nist.gov/vuln/detail/CVE-2020-8840) 2020-02-10T21:56:00 100 2.10.4 2020-05-02T22:37:28 4 Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-9547 (https://nvd.nist.gov/vuln/detail/CVE-2020-9547) 2020-03-02T04:15:00 100 2.10.4 2020-05-02T22:37:28 4 Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-11113 (https://nvd.nist.gov/vuln/detail/CVE-2020-11113) 2020-03-31T05:15:00 100 2.10.4 2020-05-02T22:37:28 4 Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-11620 (https://nvd.nist.gov/vuln/detail/CVE-2020-11620) 2020-04-07T23:15:00 100 2.10.4 2020-05-02T22:37:28 4 Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-11619 (https://nvd.nist.gov/vuln/detail/CVE-2020-11619) 2020-04-07T23:15:00 100 2.10.4 2020-05-02T22:37:28 4 Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 8.8 CVE-2020-10673 (https://nvd.nist.gov/vuln/detail/CVE-2020-10673) 2020-03-18T22:15:00 100 2.10.4 2020-05-02T22:37:28 4 Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-11111 (https://nvd.nist.gov/vuln/detail/CVE-2020-11111) 2020-03-31T05:15:00 100 2.10.4 2020-05-02T22:37:28 4 Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 8.8 CVE-2020-10672 (https://nvd.nist.gov/vuln/detail/CVE-2020-10672) 2020-03-18T22:15:00 100 2.10.4 2020-05-02T22:37:28 4 Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-11112 (https://nvd.nist.gov/vuln/detail/CVE-2020-11112) 2020-03-31T05:15:00 100 2.10.4 2020-05-02T22:37:28 4 Upgrade to 2.10.4
com.fasterxml.jackson.core:jackson-databind 2.10.2 8.8 CVE-2020-10968 (https://nvd.nist.gov/vuln/detail/CVE-2020-10968) 2020-03-26T13:15:00 100 2.10.4 2020-05-02T22:37:28 4 Upgrade to 2.10.4
log4j:log4j 1.2.17 9.8 CVE-2019-17571 (https://nvd.nist.gov/vuln/detail/CVE-2019-17571) 2019-12-20T17:15:00 100 null null 0 Fix unavailable
org.springframework:spring-web 5.2.4.RELEASE 9.8 CVE-2016-1000027 (https://nvd.nist.gov/vuln/detail/CVE-2016-1000027) 2020-01-02T23:15:00 100 5.2.7.RELEASE 2020-06-09T07:25:46 3 Upgrade to 5.2.6.RELEASE
commons-collections:commons-collections 3.2.2 7.5 Cx78f40514-81ff (https://issues.apache.org/jira/browse/COLLECTIONS-701) 2018-10-31T10:39:00 100 null null 0 Fix unavailable
org.json:json 20170516 7.5 Cx08fcacc9-cb99 (stleary/JSON-java#372) 2017-10-30T11:27:00 100 20190722 2019-08-07T00:56:35 4 Upgrade to 20190722
org.json:json 20170516 7.5 Cx2906ba70-607a (stleary/JSON-java#361) 2017-08-18T09:31:00 100 20190722 2019-08-07T00:56:35 4 Upgrade to 20190722
org.json:json 20170516 7.5 Cxdb5a1032-eda2 (stleary/JSON-java#484) 2019-09-17T10:37:00 100 20190722 2019-08-07T00:56:35 4 Upgrade to 20190722
io.netty:netty-codec-http 4.1.46.Final 7.5 CVE-2019-16869 (https://nvd.nist.gov/vuln/detail/CVE-2019-16869) 2019-09-26T16:15:00 100 4.1.50.Final 2020-05-13T07:05:02 4 Upgrade to 4.1.48.Final

Results By Severity - Medium

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-9548 (https://nvd.nist.gov/vuln/detail/CVE-2020-9548) 2020-03-02T04:15:00 100 2.10.4 2020-05-02T22:37:28 4 Upgrade to 2.10.4

Results By Severity - Low

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations
com.fasterxml.jackson.core:jackson-databind 2.10.2 9.8 CVE-2020-9546 (https://nvd.nist.gov/vuln/detail/CVE-2020-9546) 2020-03-02T04:15:00 100 2.10.4 2020-05-02T22:37:28 4 Upgrade to 2.10.4

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Checkmarx][OSA]

Libraries Summary

Score Vulnerable and Outdated Vulnerable and Updated Non Vulnerable Total
secure 0 0 47 47

Libraries Summary By Severity

High Vulnerables Libraries Medium Vulnerables Libraries Low Vulnerables Libraries Non Vulnerable Total
0 0 0 47 47

Result Summary Details

Results By Status

New Recurrent Resolved Reopened Total
0 0 0 0 0

Results By Severity - High

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

Results By Severity - Medium

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

Results By Severity - Low

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Checkmarx][OSA]

Libraries Summary

Score Vulnerable and Outdated Vulnerable and Updated Non Vulnerable Total
secure 0 0 47 47

Libraries Summary By Severity

High Vulnerables Libraries Medium Vulnerables Libraries Low Vulnerables Libraries Non Vulnerable Total
0 0 0 47 47

Result Summary Details

Results By Status

New Recurrent Resolved Reopened Total
0 0 0 0 0

Results By Severity - High

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

Results By Severity - Medium

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

Results By Severity - Low

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Checkmarx][OSA]

Libraries Summary

Score Vulnerable and Outdated Vulnerable and Updated Non Vulnerable Total
secure 0 0 47 47

Libraries Summary By Severity

High Vulnerables Libraries Medium Vulnerables Libraries Low Vulnerables Libraries Non Vulnerable Total
0 0 0 47 47

Result Summary Details

Results By Status

New Recurrent Resolved Reopened Total
0 0 0 0 0

Results By Severity - High

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

Results By Severity - Medium

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

Results By Severity - Low

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Checkmarx][OSA]

Libraries Summary

Score Vulnerable and Outdated Vulnerable and Updated Non Vulnerable Total
secure 0 0 47 47

Libraries Summary By Severity

High Vulnerables Libraries Medium Vulnerables Libraries Low Vulnerables Libraries Non Vulnerable Total
0 0 0 47 47

Result Summary Details

Results By Status

New Recurrent Resolved Reopened Total
0 0 0 0 0

Results By Severity - High

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

Results By Severity - Medium

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

Results By Severity - Low

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Checkmarx][OSA]

Libraries Summary

Score Vulnerable and Outdated Vulnerable and Updated Non Vulnerable Total
secure 0 0 47 47

Libraries Summary By Severity

High Vulnerables Libraries Medium Vulnerables Libraries Low Vulnerables Libraries Non Vulnerable Total
0 0 0 47 47

Result Summary Details

Results By Status

New Recurrent Resolved Reopened Total
0 0 0 0 0

Results By Severity - High

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

Results By Severity - Medium

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

Results By Severity - Low

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Checkmarx][OSA]

Libraries Summary

Score Vulnerable and Outdated Vulnerable and Updated Non Vulnerable Total
secure 0 0 47 47

Libraries Summary By Severity

High Vulnerables Libraries Medium Vulnerables Libraries Low Vulnerables Libraries Non Vulnerable Total
0 0 0 47 47

Result Summary Details

Results By Status

New Recurrent Resolved Reopened Total
0 0 0 0 0

Results By Severity - High

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

Results By Severity - Medium

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

Results By Severity - Low

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Checkmarx][OSA]

Libraries Summary

Score Vulnerable and Outdated Vulnerable and Updated Non Vulnerable Total
secure 0 0 47 47

Libraries Summary By Severity

High Vulnerables Libraries Medium Vulnerables Libraries Low Vulnerables Libraries Non Vulnerable Total
0 0 0 47 47

Result Summary Details

Results By Status

New Recurrent Resolved Reopened Total
0 0 38 0 0

Results By Severity - High

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

Results By Severity - Medium

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

Results By Severity - Low

Library Version Risk Score CVE Publish Date Confidence Level Newest Version Newest Version Date Versions Since Last Update Recommendations

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Checkmarx][OSA]

Libraries Summary

Score Vulnerable and Outdated Vulnerable and Updated Non Vulnerable Total
secure 0 0 47 47

Libraries Summary By Severity

High Vulnerables Libraries Medium Vulnerables Libraries Low Vulnerables Libraries Non Vulnerable Total
0 0 0 47 47

Result Summary Details

Results By Status

New Recurrent Resolved Reopened Total
0 0 0 0 0

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Checkmarx] - Project : checkmarx-github-action-test_pull_request_feature-pull_169 - Scan ID : 1000062


Project Details
Checkmarx Version: 9.0.0.40085 HF1
Project ID: 23
Project Name: checkmarx-github-action-test_pull_request_feature-pull_169
Preset: Checkmarx Default
Owner: miguel
Team: CxServer\SP\EMEA


Scan Details
Initiator Name: Miguel Freitas
Scan ID: 1000062
LOC: 4915
Files Scanned: 14
Scan Type: Full
Scan URL: https://cxprivatecloud.checkmarx.net/CxWebClient/ViewerMain.aspx?scanid=1000062&projectid=23
Scan Comment: git merge@facff162845a8332880e780f7cec71927aac746a
Scan Type: 00h:01m:16s
Scan Start Date: Mon Jun 15 2020 23:38:40 GMT+0100 (British Summer Time)
Scan Time: 00h:01m:16s
Source Origin: LocalPath
Visibility: Public


Results Summary Details

Results By Status

New Recurrent Resolved Reopened Total
0 0 0 2 2

Results By State and Severity

Severity \ State Confirmed Urgent Proposed Not Exploitable To Verify Not Exploitable Total
High 0 0 0 0 0 0
Medium 0 0 0 0 0 0
Low 0 0 0 2 0 2
Info 0 0 0 0 0 0
Total 0 0 0 2 0 2

Results By Queries

Queries Total Results
Client_Server_Empty_Password 1
Use_Of_Hardcoded_Password 1

Results By Languages

Languages Total Results
JavaScript 2

Vulnerabilities in Files:
https://github.com/checkmarx-ts/checkmarx-github-action/blob/837e6d5175a829f55c276018e472f6cf5e86597d/src/cli/token.js
https://github.com/checkmarx-ts/checkmarx-github-action/blob/837e6d5175a829f55c276018e472f6cf5e86597d/src/github/inputs.js

@miguelfreitas93
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Checkmarx] - Project : checkmarx-github-action-master - Scan ID : 1000074


Project Details
Checkmarx Version: 9.0.0.40085 HF1
Project ID: 6
Project Name: checkmarx-github-action-master
Preset: Checkmarx Default
Owner: miguel
Team: CxServer\SP\EMEA


Scan Details
Initiator Name: Miguel Freitas
Scan ID: 1000074
LOC: 5458
Files Scanned: 17
Scan Type: Full
Scan URL: https://cxprivatecloud.checkmarx.net/CxWebClient/ViewerMain.aspx?scanid=1000074&projectid=6
Scan Comment: git master@837e6d5175a829f55c276018e472f6cf5e86597d
Scan Type: 00h:01m:16s
Scan Start Date: Tue Jun 16 2020 23:39:17 GMT+0100 (British Summer Time)
Scan Time: 00h:01m:16s
Source Origin: LocalPath
Visibility: Public


Results Summary Details

Results By Status

New Recurrent Resolved Reopened Total
0 1 2 0 3

Results By State and Severity

Severity \ State Confirmed Urgent Proposed Not Exploitable To Verify Not Exploitable Total
High 0 0 0 0 0 0
Medium 0 0 0 0 0 0
Low 0 0 0 0 3 3
Info 0 0 0 0 0 0
Total 0 0 0 0 3 3

Results By Queries

Queries Total Results
Use_Of_Hardcoded_Password 2
Client_Server_Empty_Password 1

Results By Languages

Languages Total Results
JavaScript 3

Vulnerabilities in Files:
https://github.com/checkmarx-ts/checkmarx-github-action/blob/837e6d5175a829f55c276018e472f6cf5e86597d/src/github/inputs.js
https://github.com/checkmarx-ts/checkmarx-github-action/blob/837e6d5175a829f55c276018e472f6cf5e86597d/src/cli/token.js

Please sign in to comment.