Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: preparing for v2 release #100

Merged
merged 5 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
50 changes: 50 additions & 0 deletions .github/security-insights.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
header:
schema-version: 1.0.0
last-updated: '2021-09-01'
last-reviewed: '2022-09-01'
url: https://github.com/ossf/security-insights-spec
comment: This file contains the security information for the Security Insights project.

project:
name: Security Insights
administrators:
- name: Christopher Robinson
affiliation: Linux Foundation
primary: true
repositories:
- name: Security Insights
url: https://github.com/ossf/security-insights-spec
comment: |
Security Insights is the core repo for the Security Insights project.
vulnerability-reporting:
reports-accepted: true
bug-bounty-available: false

repository:
status: active
url: https://github.com/ossf/security-insights-spec
accepts-change-request: true
accepts-automated-change-request: false
no-third-party-packages: true
core-team:
- name: Eddie Knight
affiliation: Sonatype
primary: true
license:
url: https://github.com/ossf/security-insights-spec/blob/main/LICENSE
expression: MIT AND Community Specification License 1.0
security:
assessments:
self:
evidence: https://github.com/ossf/security-insights-spec/blob/main/docs/threat-model
comment: |
A light-weight threat model was completed when the project was first started,
and it remains accurate to-date.
documentation:
contributing-guide: https://github.com/ossf/security-insights-spec/blob/main/.github/CONTRIBUTING.md
governance: https://github.com/ossf/security-insights-spec/blob/main/docs/GOVERNANCE.md
release:
automated-pipeleine: false
distribution-points:
- uri: https://github.com/ossf/security-insights-spec/releases
comment: GitHub Release Page
29 changes: 0 additions & 29 deletions CONTRIBUTING.md

This file was deleted.

21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,25 @@ This specification provides a mechanism for projects to report information about

The data tracked within this specification is intended to fill the gaps between simplified solutions such as `SECURITY.md` and comprehensive automatable solutions such as SBOMs. In that gap lay elements that must be self-reported by projects to allow end-users to make informed security decisions.

## Usage

Projects should include a `security-insights.yml` file in the root of their repository, or in the appropriate source forge directory such as `.github/` or `.gitlab/`. Users should assume the contents of that file will be updated any time the relevant information changes.

To ensure you are adhering to an official version of the specification, please refer to the `specification.md` in the [latest release](https://github.com/ossf/security-insights/releases/latest), which is a versioned compilation of all details.

This repository often remains unchanged from the latest release, but may diverge as incremental development takes place in preparation for an upcoming release. Any differences between the latest release and the main branch should only be considered previews of the next release.

As the adoption of Security Insights grows, so does the opportunity to automatically ingest it. For example, the Linux Foundation's [CLOMonitor](https://clomonitor.io/) parses a project's Security Insights file to determine whether projects have reported on select security factors prioritized by the foundation.

All information regarding the maintenance, security, and consumption of the Security Insights Specification can be found in this repo within the latest version of the [official specification file](/specification.md).
## Maintenance

The specification maintenance occurs in the following places:

- `specification/`: Contains markdown details for all specification values
- `schema.cue`: Contains the CUE schema that can be used to validate files against the specification
- `template-full.yml`: Contains a template that includes all possible fields
- `template-minimal.yml`: Contains a template that includes only the required fields

Discussion and feedback should take place in [GitHub Issues](https://github.com/ossf/security-insights/issues).

Please use GitHub issues to discuss the maintenance of this specification, and review the [Contributor Guidelines](./CONTRIBUTING.md) for more information.
Because this specification recieves light maintenance and infrequent updates, beginning in 2025 we ask that you follow the [Security Insights Enhancement Proposal](./docs/GOVERNANCE.md#security-insights-enhancement-proposals) process to explore potential changes to the specification.
49 changes: 0 additions & 49 deletions SECURITY-INSIGHTS.yml

This file was deleted.

7 changes: 0 additions & 7 deletions SECURITY.md

This file was deleted.

File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions schema.cue
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import (
}

#Attestation: {
name: string
location: #URL
"predicate-uri": string
name: string
location: #URL
"predicate-uri": string
comment?: string
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Aliases
# Aliases _(v2.0.0)_

The following aliases are used throughout the schema for consistency.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `header`
# `header` _(v2.0.0)_

The `header` object captures high-level metadata about the schema.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `project`
# `project` _(v2.0.0)_

The `project` object describes the overall project, including basic info, documentation links, repositories, vulnerability reporting, and security details.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `repository`
# `repository` _(v2.0.0)_

The `repository` object specifies repository-related configurations, including status, policies, team members, documentation, license, releases, and security posture.

Expand Down
2 changes: 1 addition & 1 deletion template-full.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
header:
schema-version: 1.0.0
schema-version: 2.0.0
last-updated: '2021-09-01'
last-reviewed: '2022-09-01'
url: https://foo.bar/foo/bar
Expand Down
2 changes: 1 addition & 1 deletion template-minimum.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
header:
schema-version: 1.0.0
schema-version: 2.0.0
last-updated: '2021-09-01'
last-reviewed: '2022-09-01'
url: https://foo.bar/kubernetes/kubernetes
Expand Down
Loading