packit-service icon indicating copy to clipboard operation
packit-service copied to clipboard

Automatically configure Packit projects to use OpenScanHub

Open siteshwar opened this issue 1 year ago • 5 comments

As of now, we are scanning only 73 packages through OpenScanHub integration with Packit. This issue tracks opening pull requests to configure projects to start submitting scans to OpenScanHub.

This list contains packages currently being scanned through OpenScanHub via Packit.

siteshwar avatar Nov 12 '24 11:11 siteshwar

Add polkit to the list.

siteshwar avatar Nov 14 '24 10:11 siteshwar

Another possibility is to do differential scans with latest koji builds. Although the results may look confusing as they may contain findings from changes outside a pull request. So, it probably makes sense to do such scans before a package release.

siteshwar avatar Mar 25 '25 11:03 siteshwar

Although the results may look confusing as they may contain findings from changes outside a pull request.

I agree this could be quite misleading and inaccurate, so I would probably avoid doing that.

So, it probably makes sense to do such scans before a package release.

Can you elaborate on this a bit, please?

lbarcziova avatar Mar 25 '25 11:03 lbarcziova

Although the results may look confusing as they may contain findings from changes outside a pull request.

I agree this could be quite misleading and inaccurate, so I would probably avoid doing that.

So, it probably makes sense to do such scans before a package release.

Can you elaborate on this a bit, please?

We can do a differential scan on each commit to the target branch, but that could be too resource consuming and results may not be visible to the user. I was thinking about triggering a differential scan with one of these jobs, but I am not sure how we can make the results visible to the user. Otherwise, we may just have to rely on Packit as the Fedora CI to perform a differential scan.

siteshwar avatar Mar 25 '25 11:03 siteshwar

I was thinking about triggering a differential scan with one of these jobs, but I am not sure how we can make the results visible to the user. Otherwise, we may just have to rely on Packit as the Fedora CI to perform a differential scan.

Ah I see, thanks for the explanation! Those are though triggered on upstream release, so doing that would have a similar effect as triggering directly on downstream pull requests.

lbarcziova avatar Mar 25 '25 13:03 lbarcziova