Skip to content

Commit d5d79b1

Browse files
authored
fix typo in the GitHub word (#440)
1 parent 8918c66 commit d5d79b1

11 files changed

Lines changed: 13 additions & 13 deletions

cmd/analyzeRepo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var analyzeRepoCmd = &cobra.Command{
1414
Use: "analyze_repo",
1515
Short: "Analyzes a remote repository for supply chain vulnerabilities",
1616
Long: `Analyzes a remote repository for supply chain vulnerabilities
17-
Example Scanning a remote Github Repository: poutine analyze_repo org/repo --token "$GH_TOKEN"`,
17+
Example Scanning a remote GitHub Repository: poutine analyze_repo org/repo --token "$GH_TOKEN"`,
1818
Args: cobra.ExactArgs(1),
1919
RunE: func(cmd *cobra.Command, args []string) error {
2020
Token = viper.GetString("token")

cmd/analyzeRepoStaleBranches.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var analyzeRepoStaleBranches = &cobra.Command{
1616
Use: "analyze_repo_stale_branches",
1717
Short: "Analyzes a remote repository for pull_request_target vulnerabilities in stale branches",
1818
Long: `Analyzes a remote repository, looping through all remote branches to find unique GitHub Actions workflows with old pull_request_target vulnerabilities, even though the default branch does not have that vulnerability anymore.
19-
Example Scanning a remote Github Repository: poutine analyze_repo_stale_branches org/repo --token "$GH_TOKEN"`,
19+
Example Scanning a remote GitHub Repository: poutine analyze_repo_stale_branches org/repo --token "$GH_TOKEN"`,
2020
Args: cobra.ExactArgs(1),
2121
RunE: func(cmd *cobra.Command, args []string) error {
2222
Token = viper.GetString("token")

docs/content/en/rules/github_action_from_unverified_creator_used.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Github Action from Unverified Creator used"
2+
title: "GitHub Action from Unverified Creator used"
33
slug: github_action_from_unverified_creator_used
44
url: /rules/github_action_from_unverified_creator_used/
55
rule: github_action_from_unverified_creator_used

docs/content/en/rules/if_always_true.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ jobs:
5656
5757
5858
## See Also
59-
- [Expression Always True Github Issue](https://github.com/actions/runner/issues/1173)
59+
- [Expression Always True GitHub Issue](https://github.com/actions/runner/issues/1173)
6060
- [About expressions](https://docs.github.com/en/actions/learn-github-actions/expressions#about-expressions)
6161
- [jobs<job_id>.if](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idif)

docs/content/en/rules/known_vulnerability_in_build_platform.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ Upgrade the self-hosted provider to a non-vulnerable version.
1616

1717
## See Also
1818
- [Upgrade Gitlab](https://docs.gitlab.com/ee/update/)
19-
- [Upgrade Github Enterprise Server](https://docs.github.com/en/enterprise-server@3.13/admin/overview/about-upgrades-to-new-releases)
19+
- [Upgrade GitHub Enterprise Server](https://docs.github.com/en/enterprise-server@3.13/admin/overview/about-upgrades-to-new-releases)

docs/content/en/rules/pr_runs_on_self_hosted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ Having a GitHub Organization **Runners** configuration set to **All repositories
3535
- [Hardening for self-hosted runners](https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#hardening-for-self-hosted-runners)
3636
- [Playing with fire - How we executed a critical supply chain attack on pytorch](https://johnstawinski.com/2024/01/11/playing-with-fire-how-we-executed-a-critical-supply-chain-attack-on-pytorch/)
3737
- [TensorFlow Supply Chain Compromise via Self-Hosted Runner Attack](https://www.praetorian.com/blog/tensorflow-supply-chain-compromise-via-self-hosted-runner-attack/)
38-
- [Gato - Github Attack TOOlkit](https://github.com/praetorian-inc/gato)
38+
- [Gato - GitHub Attack TOOlkit](https://github.com/praetorian-inc/gato)

formatters/sarif/sarif_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func TestSarifFormatBuildDependencyFindings(t *testing.T) {
4444
Rules: map[string]results.Rule{
4545
"github_action_from_unverified_creator_used": {
4646
Id: "github_action_from_unverified_creator_used",
47-
Title: "Github Action from Unverified Creator used",
47+
Title: "GitHub Action from Unverified Creator used",
4848
Description: "Usage of GitHub Actions from unverified creators was detected.",
4949
Level: "note",
5050
},

opa/rego/external/build_platform.rego

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ advisories = {
258258
"osv_id": "CVE-2022-23733",
259259
"published": "2022-08-02T16:05:14",
260260
"aliases": [],
261-
"summary": "A stored XSS vulnerability was identified in GitHub Enterprise Server that allowed the injection of arbitrary attributes. This injection was blocked by Github's Content Security Policy (CSP). This vulnerability affected all versions of GitHub Enterprise Server prior to 3.6 and was fixed in versions 3.3.11, 3.4.6 and 3.5.3. This vulnerability was reported via the GitHub Bug Bounty program.",
261+
"summary": "A stored XSS vulnerability was identified in GitHub Enterprise Server that allowed the injection of arbitrary attributes. This injection was blocked by GitHub's Content Security Policy (CSP). This vulnerability affected all versions of GitHub Enterprise Server prior to 3.6 and was fixed in versions 3.3.11, 3.4.6 and 3.5.3. This vulnerability was reported via the GitHub Bug Bounty program.",
262262
"severity": [],
263263
"cwe_ids": ["CWE-79"],
264264
"vulnerable_versions": [],
@@ -1818,7 +1818,7 @@ advisories = {
18181818
"osv_id": "CVE-2020-13326",
18191819
"published": "2020-09-29T18:45:49",
18201820
"aliases": [],
1821-
"summary": "A vulnerability was discovered in GitLab versions prior to 13.1. Under certain conditions the restriction for Github project import could be bypassed.",
1821+
"summary": "A vulnerability was discovered in GitLab versions prior to 13.1. Under certain conditions the restriction for GitHub project import could be bypassed.",
18221822
"severity": [{
18231823
"type": "CVSS_V3",
18241824
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",

opa/rego/rules/github_action_from_unverified_creator_used.rego

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# METADATA
2-
# title: Github Action from Unverified Creator used
2+
# title: GitHub Action from Unverified Creator used
33
# description: |-
44
# Usage of the following GitHub Actions repositories was detected in workflows
55
# or composite actions, but their owner is not a verified creator.

scanner/parsers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func (p *GithubActionsMetadataParser) ParseFromMemory(data []byte, filePath stri
5151
meta.Path = filePath
5252
pkgInsights.GithubActionsMetadata = append(pkgInsights.GithubActionsMetadata, meta)
5353
} else {
54-
log.Debug().Str("file", filePath).Msg("invalid Github Actions metadata")
54+
log.Debug().Str("file", filePath).Msg("invalid GitHub Actions metadata")
5555
}
5656

5757
return nil

0 commit comments

Comments
 (0)