diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt index 25e357c323..8d546be09c 100644 --- a/.github/actions/spelling/expect.txt +++ b/.github/actions/spelling/expect.txt @@ -86,8 +86,9 @@ clt clusterrole clusterrolebinding cmp -CNCF +cncf codecov +codeql codespace commonannotation COMMONENVVAR @@ -322,7 +323,6 @@ keptnmetricsprovider keptnmetricsproviderlist keptnmetricsproviderspec keptnmetricstatus -keptnphase keptnprommetrics keptnsandbox keptnserver @@ -457,6 +457,7 @@ opentracing operatorcommon operatorvalue optionskeptnsh +ossf otel otelprom otelsdk @@ -525,6 +526,7 @@ resourcereference Rexed rgb RLock +roadmap rolebinding rollme roundtripper diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml new file mode 100644 index 0000000000..5438f4c847 --- /dev/null +++ b/.github/workflows/scorecard.yml @@ -0,0 +1,73 @@ +# This workflow uses actions that are not certified by GitHub. They are provided +# by a third-party and are governed by separate terms of service, privacy +# policy, and support documentation. + +name: Scorecard supply-chain security +on: + # For Branch-Protection check. Only the default branch is supported. See + # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection + branch_protection_rule: + # To guarantee Maintained check is occasionally updated. See + # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained + schedule: + - cron: '29 6 * * 3' + push: + branches: + - "main" + +# Declare default permissions as read only. +permissions: read-all + +jobs: + analysis: + name: Scorecard analysis + runs-on: ubuntu-latest + permissions: + # Needed to upload the results to code-scanning dashboard. + security-events: write + # Needed to publish results and get a badge (see publish_results below). + id-token: write + # Uncomment the permissions below if installing in a private repository. + # contents: read + # actions: read + + steps: + - name: "Checkout code" + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 + with: + persist-credentials: false + + - name: "Run analysis" + uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2 + with: + results_file: results.sarif + results_format: sarif + # (Optional) "write" PAT token. Uncomment the `repo_token` line below if: + # - you want to enable the Branch-Protection check on a *public* repository, or + # - you are installing Scorecard on a *private* repository + # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat. + # repo_token: ${{ secrets.SCORECARD_TOKEN }} + + # Public repositories: + # - Publish results to OpenSSF REST API for easy access by consumers + # - Allows the repository to include the Scorecard badge. + # - See https://github.com/ossf/scorecard-action#publishing-results. + # For private repositories: + # - `publish_results` will always be set to `false`, regardless + # of the value entered here. + publish_results: true + + # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF + # format to the repository Actions tab. + - name: "Upload artifact" + uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0 + with: + name: SARIF file + path: results.sarif + retention-days: 5 + + # Upload the results to GitHub's code scanning dashboard. + - name: "Upload to code-scanning" + uses: github/codeql-action/upload-sarif@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # v2.2.4 + with: + sarif_file: results.sarif diff --git a/README.md b/README.md index c5dac1efc3..bf05eeb27b 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,9 @@ [![GitHub Discussions](https://img.shields.io/github/discussions/keptn/lifecycle-toolkit)](https://github.com/keptn/lifecycle-toolkit/discussions) [![Artifacthub Badge](https://img.shields.io/badge/Keptn-blue?style=flat&logo=artifacthub&label=Artifacthub&link=https%3%2F%2Fartifacthub.io%2Fpackages%2Fhelm%2Flifecycle-toolkit%2Fkeptn)](https://artifacthub.io/packages/helm/lifecycle-toolkit/keptn) [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/3588/badge)](https://www.bestpractices.dev/projects/3588) +[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/keptn/lifecycle-toolkit/badge)](https://securityscorecards.dev/viewer/?uri=github.com/keptn/lifecycle-toolkit) +[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fkeptn%2Flifecycle-toolkit.svg?type=shield&issueType=license)](https://app.fossa.com/projects/git%2Bgithub.com%2Fkeptn%2Flifecycle-toolkit?ref=badge_shield&issueType=license) +[![CLOMonitor](https://img.shields.io/endpoint?url=https://clomonitor.io/api/projects/cncf/keptn/badge)](https://clomonitor.io/projects/cncf/keptn) This is the primary repository for the Keptn software and documentation. @@ -69,6 +72,8 @@ The status follows the Find details on regular hosted community events in the [keptn/community repo](https://github.com/keptn/community) and our Slack channel(s) in the [CNCF Slack workspace.](https://cloud-native.slack.com/messages/keptn/) +You can find our roadmap [here](https://github.com/orgs/keptn/projects/10). + ## Governance - [Community Membership](https://github.com/keptn/community/blob/main/community-membership.md): diff --git a/SECURITY-INSIGHTS.yml b/SECURITY-INSIGHTS.yml new file mode 100644 index 0000000000..b1618fabf7 --- /dev/null +++ b/SECURITY-INSIGHTS.yml @@ -0,0 +1,34 @@ +header: + license: 'https://github.com/keptn/lifecycle-toolkit/blob/main/LICENSE' + schema-version: 1.0.0 + expiration-date: '2025-03-04T01:00:00.000Z' + last-updated: '2024-03-05' + project-url: https://github.com/keptn/lifecycle-toolkit + project-release: '2.0.0-rc.1' + commit-hash: 95fdd03fe26a44538106d1c450b6e14bd59c11b1 +project-lifecycle: + status: active + roadmap: https://github.com/orgs/keptn/projects/10 + release-process: https://keptn.sh/stable/docs/contribute/general/release-checklist/ + bug-fixes-only: false + core-maintainers: + - https://github.com/keptn/community/blob/main/config/keptn/lifecycle-toolkit/workgroup.yaml +contribution-policy: + accepts-pull-requests: true + code-of-conduct: https://github.com/keptn/.github/blob/main/CODE_OF_CONDUCT.md + contributing-policy: https://github.com/keptn/lifecycle-toolkit/blob/main/CONTRIBUTING.md + accepts-automated-pull-requests: true +distribution-points: + - https://charts.lifecycle.keptn.sh + - https://github.com/orgs/keptn/packages?repo_name=lifecycle-toolkit +documentation: + - https://keptn.sh/stable/docs/ +security-contacts: + - type: email + value: cncf-keptn-tc@lists.cncf.io + - type: url + value: https://github.com/keptn/lifecycle-toolkit/security/advisories/new/ +vulnerability-reporting: + email-contact: cncf-keptn-tc@lists.cncf.io + accepts-vulnerability-reports: true + security-policy: https://github.com/keptn/.github/blob/main/SECURITY.md