[feat](ci) add OSSF Scorecard workflow for supply-chain security#60551
Open
gaganhr94 wants to merge 2 commits intoapache:masterfrom
Open
[feat](ci) add OSSF Scorecard workflow for supply-chain security#60551gaganhr94 wants to merge 2 commits intoapache:masterfrom
gaganhr94 wants to merge 2 commits intoapache:masterfrom
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Author
|
@Thearas @hello-stephen Can you please review this PR when you get a chance. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Issue Number: close #60508
Related PR: #xxx
Problem Summary: The repository currently does not publish OpenSSF Scorecard results to the public Scorecard API (https://api.securityscorecards.dev/). As a result, users and downstream projects cannot easily discover or track the project’s security best-practice posture in a standardized, automated way. The absence of published results reduces visibility and makes it harder for consumers to assess the project using common tooling.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)
What problem was fixed
The repository currently does not publish OpenSSF Scorecard results to the public Scorecard API (https://api.securityscorecards.dev/). As a result, users and downstream projects cannot easily discover or track the project’s security best-practice posture in a standardized, automated way.
How it was fixed
This was addressed by adding an OpenSSF Scorecard GitHub Actions workflow that runs on scheduled intervals and on relevant branch updates. The workflow executes the Scorecard analysis, generates a SARIF report, and uploads the results to GitHub Code Scanning for visibility.
Which behaviors were modified
Previous behavior:
No automated push of OpenSSF scorecard to the scorecard API.
Current behavior:
Scorecard analysis runs automatically on a schedule and on selected branches.
Why this was modified:
The absence of published results reduces visibility and makes it harder for consumers to assess the project using common tooling. So the scorecard workflow was added so that the project can be scored on various security criterias, and helps the user confidently use the project.
Potential impact:
No impact on runtime behavior or production code. Improves overall project security posture and audit readiness.
What features were added
Automated OpenSSF Scorecard scanning via GitHub Actions.