jenkins-infra / repository-permissions-updater

Artifactory permissions synchronization tool and data set
77 stars 1.03k forks source link

Hosting request for Black Duck Security Scan Plugin #4099

Open zaman-akib opened 2 hours ago

zaman-akib commented 2 hours ago

Repository URL

https://github.com/blackduck-inc/blackduck-security-scan-plugin

New Repository Name

blackduck-security-scan-plugin

Description

Black Duck Security Scan for Jenkins

Black Duck Security Scan Plugin for Jenkins provides the functionality to configure Jenkins pipeline to run Black Duck security scan and take action on the results. Black Duck Security Scan leverages Bridge CLI, allowing you to run tests for several Black Duck products from the command line. This plugin supports FreeStyle, Pipeline and Multibranch Pipeline job types.

Black Duck Security Scan will use the following Black Duck products leveraging Bridge CLI -

  1. Polaris
  2. Blackducksca
  3. Coverity
  4. Software Risk Manager (SRM)

Currently we have a similar kind of plugin in Jenkins marketplace - https://plugins.jenkins.io/synopsys-security-scan/ which we will deprecate after releasing this new plugin as we are be re-branding the Synopsys products as Black Duck products.

GitHub users to have commit permission

@sig-tithi @zaman-akib @jahid1209 @sadmananik @maksudur-rahman-maruf @gouravjblackduck @siyaramblackduck @lsynopsys @kiransynopsys

Jenkins project users to have release permission

bd_tithi zaman_akib jahid1209 sadman_anik maksud_rahman gouravjblackduck siyaramblackduck

Issue tracker

GitHub issues

github-actions[bot] commented 2 hours ago

Hello from your friendly Jenkins Hosting Checker

It appears you have some issues with your hosting request. Please see the list below and correct all issues marked Required. Your hosting request will not be approved until these issues are corrected. Issues marked with Warning or Info are just recommendations and will not stall the hosting process.

You can re-trigger a check by editing your hosting request or by commenting /hosting re-check

jenkins-cert-app commented 2 hours ago

Security audit, information and commands

The security team is auditing all the hosting requests, to ensure a better security by default.

This message informs you that a Jenkins Security Scan was triggered on your repository. It takes ~10 minutes to complete.

Commands The bot will parse all comments, and it will check if any line start with a command. Security team only:
  • /audit-ok => the audit is complete, the hosting can continue :tada:.
  • /audit-skip => the audit is not necessary, the hosting can continue :tada:.
  • /audit-findings => the audit reveals some issues that require corrections :pencil2:.
Anyone:
  • /request-security-scan => the findings from the Jenkins Security Scan were corrected, this command will re-scan your repository :mag:.
  • /audit-review => the findings from the audit were corrected, this command will ping the security team to review the findings :eyes:. It's only applicable when the previous audit required changes.
Only one command can be requested per comment.

(automatically generated message, version: 1.29.12)

jenkins-cert-app commented 1 hour ago

The Jenkins Security Scan discovered 3 finding(s) :mag:.

Please follow the instructions below for every identified issues:

After addressing the findings through one of the above methods:


Stapler: Missing POST/RequirePOST annotation

You can find detailed information about this finding here.

ScannerGlobalConfig.java#283 ``` Potential CSRF vulnerability: If ScannerGlobalConfig#doFillCoverityCredentialsIdItems connects to user-specified URLs, modifies state, or is expensive to run, it should be annotated with @POST or @RequirePOST ```
ScannerGlobalConfig.java#279 ``` Potential CSRF vulnerability: If ScannerGlobalConfig#doFillPolarisCredentialsIdItems connects to user-specified URLs, modifies state, or is expensive to run, it should be annotated with @POST or @RequirePOST ```
ScannerGlobalConfig.java#275 ``` Potential CSRF vulnerability: If ScannerGlobalConfig#doFillBlackDuckSCACredentialsIdItems connects to user-specified URLs, modifies state, or is expensive to run, it should be annotated with @POST or @RequirePOST ```