Skip to content

Commit

Permalink
chore: increase CLOMonitor score (#3190)
Browse files Browse the repository at this point in the history
Co-authored-by: odubajDT <93584209+odubajDT@users.noreply.github.com>
  • Loading branch information
mowies and odubajDT authored Mar 6, 2024
1 parent 4e93ce2 commit fa317ea
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ clt
clusterrole
clusterrolebinding
cmp
CNCF
cncf
codecov
codeql
codespace
commonannotation
COMMONENVVAR
Expand Down Expand Up @@ -322,7 +323,6 @@ keptnmetricsprovider
keptnmetricsproviderlist
keptnmetricsproviderspec
keptnmetricstatus
keptnphase
keptnprommetrics
keptnsandbox
keptnserver
Expand Down Expand Up @@ -457,6 +457,7 @@ opentracing
operatorcommon
operatorvalue
optionskeptnsh
ossf
otel
otelprom
otelsdk
Expand Down Expand Up @@ -525,6 +526,7 @@ resourcereference
Rexed
rgb
RLock
roadmap
rolebinding
rollme
roundtripper
Expand Down
73 changes: 73 additions & 0 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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):
Expand Down
34 changes: 34 additions & 0 deletions SECURITY-INSIGHTS.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit fa317ea

Please sign in to comment.