jenkins-infra / repository-permissions-updater

Artifactory permissions synchronization tool and data set
79 stars 1.05k forks source link

Polarion Connector For Jenkins #4186

Open nagasagar opened 2 days ago

nagasagar commented 2 days ago

Repository URL

https://github.com/nagasagar/polarion-connector-plugin

New Repository Name

polarion-connector-plugin

Description

This plugin provides options to, Publish test results to Polarion and Change the status of WorkItem In Polarion.

GitHub users to have commit permission

@nagasagar

Jenkins project users to have release permission

nagasagar

Issue tracker

Jira

jenkins-cert-app commented 2 days 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.31.74)

github-actions[bot] commented 2 days 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 days ago

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

For every identified issue, please do one of the following:

After addressing the findings through one of the above methods:


Stapler: Missing POST/RequirePOST annotation

You can find detailed information about this finding here.

PolarionNotifier.java#278 ``` Potential CSRF vulnerability: If DescriptorImpl#doCheckTestResults connects to user-specified URLs, modifies state, or is expensive to run, it should be annotated with @POST or @RequirePOST ```
PolarionNotifier.java#254 ``` Potential CSRF vulnerability: If DescriptorImpl#doCheckProject connects to user-specified URLs, modifies state, or is expensive to run, it should be annotated with @POST or @RequirePOST ```
PolarionNotifier.java#227 ``` Potential CSRF vulnerability: If DescriptorImpl#doTestConnection connects to user-specified URLs, modifies state, or is expensive to run, it should be annotated with @POST or @RequirePOST ```
PolarionWorkItemStatusUpdateBuilder.java#79 ``` Potential CSRF vulnerability: If BuilderDescriptor#doCheckWorkItem connects to user-specified URLs, modifies state, or is expensive to run, it should be annotated with @POST or @RequirePOST ```

Stapler: Missing permission check

You can find detailed information about this finding here.

PolarionNotifier.java#278 ``` Potential missing permission check in DescriptorImpl#doCheckTestResults ```
PolarionNotifier.java#254 ``` Potential missing permission check in DescriptorImpl#doCheckProject ```
PolarionNotifier.java#227 ``` Potential missing permission check in DescriptorImpl#doTestConnection ```
PolarionWorkItemStatusUpdateBuilder.java#79 ``` Potential missing permission check in BuilderDescriptor#doCheckWorkItem ```

Jenkins: Plaintext password storage

You can find detailed information about this finding here.

PolarionNotifier.java#143 ``` Field should be reviewed whether it stores a password and is serialized to disk: token ```
github-actions[bot] commented 2 days 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

nagasagar commented 2 days ago

/hosting re-check

nagasagar commented 2 days ago

/audit-review

github-actions[bot] commented 2 days 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

nagasagar commented 2 days ago

/hosting re-check

github-actions[bot] commented 2 days ago

Hello from your friendly Jenkins Hosting Checker

It looks like you have everything in order for your hosting request. A member of the Jenkins hosting team will check over things that I am not able to check(code review, README content, etc) and process the request as quickly as possible. Thank you for your patience.

Hosting team members can host this request with /hosting host

mawinter69 commented 2 days ago

Your plugin doesn't support pipeline jobs, at least the Notifier is limited to AbstractBuild

nagasagar commented 1 day ago

Hi, yes this plugin currently supports only a freestyle project

On Thu, 21 Nov 2024 at 3:00 AM, Markus Winter @.***> wrote:

Your plugin doesn't support pipeline jobs, at least the Notifier is limited to AbstractBuild

— Reply to this email directly, view it on GitHub https://github.com/jenkins-infra/repository-permissions-updater/issues/4186#issuecomment-2489578213, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZ7NDISBHH3PKJY3MOWWWL2BT5O5AVCNFSM6AAAAABSFCSYQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBZGU3TQMRRGM . You are receiving this because you authored the thread.Message ID: <jenkins-infra/repository-permissions-updater/issues/4186/2489578213@ github.com>

mawinter69 commented 1 day ago

Without pipeline support I guess you will not find many users for your plugin. Pipeline is the de facto standard nowadays. Adding pipeline support is quite easy, just implement https://javadoc.jenkins.io/jenkins/tasks/SimpleBuildStep.html in the Notifier Also add @Symbol annotations to the Descriptors to define names for the steps you can use in a pipeline script.

nagasagar commented 15 hours ago

/hosting re-check

timja commented 14 hours ago

/hosting re-check

github-actions[bot] commented 14 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

github-actions[bot] commented 13 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

nagasagar commented 7 hours ago

/hosting re-check

github-actions[bot] commented 7 hours ago

Hello from your friendly Jenkins Hosting Checker

It looks like you have everything in order for your hosting request. A member of the Jenkins hosting team will check over things that I am not able to check(code review, README content, etc) and process the request as quickly as possible. Thank you for your patience.

Hosting team members can host this request with /hosting host

github-actions[bot] commented 7 hours ago

Hello from your friendly Jenkins Hosting Checker

It looks like you have everything in order for your hosting request. A member of the Jenkins hosting team will check over things that I am not able to check(code review, README content, etc) and process the request as quickly as possible. Thank you for your patience.

Hosting team members can host this request with /hosting host

nagasagar commented 7 hours ago

@mawinter69 Could you check now please.