From e3d90d0597a1627d2aa2c7f9254f4dad4bee1f51 Mon Sep 17 00:00:00 2001 From: Ben Cotton Date: Tue, 7 Jan 2025 00:27:57 -0500 Subject: [PATCH] Un-singularize a few instances of "criterion" (#127) Signed-off-by: Ben Cotton --- cmd/main.go | 4 ++-- cmd/template.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index 292042f..9e992c2 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -15,7 +15,7 @@ import ( "gopkg.in/yaml.v3" ) -// Struct for representing each criterion entry +// Struct for representing each entry type Criterion struct { ID string `yaml:"id"` MaturityLevel int `yaml:"maturity_level"` @@ -56,7 +56,7 @@ var ( } compileCmd = &cobra.Command{ Use: "compile [file]", - Short: "Compile a YAML file of security criterion", + Short: "Compile a YAML file of security criteria", Args: cobra.MinimumNArgs(0), Run: func(cmd *cobra.Command, args []string) { err := readYAMLFile() diff --git a/cmd/template.md b/cmd/template.md index 280cf98..a5057fe 100644 --- a/cmd/template.md +++ b/cmd/template.md @@ -5,9 +5,9 @@ ## Overview -The Open Source Project Security (OSPS) Baseline is a set of security criterion that projects should meet to be considered secure. -The criterion are organized by maturity level and category. -In the detailed subsections you will find the criterion, rationales, and details notes. +The Open Source Project Security (OSPS) Baseline is a set of security criteria that projects should meet to be considered secure. +The criteria are organized by maturity level and category. +In the detailed subsections you will find the criterion, rationale, and details notes. For more information on the project and to make contributions, visit the [GitHub repo](https://github.com/ossf/security-baseline).