Skip to content

Commit d48f26d

Browse files
Merge pull request #2504 from step-security/update-templates-main
Update templates main
2 parents 84135ad + 1f2d537 commit d48f26d

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

remediation/workflow/hardenrunner/addaction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
const (
1414
HardenRunnerActionPath = "step-security/harden-runner"
15-
HardenRunnerActionName = "Harden Runner"
15+
HardenRunnerActionName = "Harden the runner (Audit all outbound calls)"
1616
)
1717

1818
func AddAction(inputYaml, action string, pinActions, pinToImmutable bool) (string, bool, error) {

testfiles/addaction/output/2jobs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
list-directory:
66
runs-on: ubuntu-latest
77
steps:
8-
- name: Harden Runner
8+
- name: Harden the runner (Audit all outbound calls)
99
uses: step-security/harden-runner@v2
1010
with:
1111
egress-policy: audit
@@ -14,7 +14,7 @@ jobs:
1414
list-directory1:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- name: Harden Runner
17+
- name: Harden the runner (Audit all outbound calls)
1818
uses: step-security/harden-runner@v2
1919
with:
2020
egress-policy: audit

testfiles/addaction/output/action-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- name: Harden Runner
12+
- name: Harden the runner (Audit all outbound calls)
1313
uses: step-security/harden-runner@v2
1414
with:
1515
egress-policy: audit

testfiles/addaction/output/alreadypresent.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
list-directory1:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Harden Runner
13+
- name: Harden the runner (Audit all outbound calls)
1414
uses: step-security/harden-runner@v2
1515
with:
1616
egress-policy: audit

testfiles/addworkflow/expected-scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
persist-credentials: false
4242

4343
- name: "Run analysis"
44-
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
44+
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
4545
with:
4646
results_file: results.sarif
4747
results_format: sarif

testfiles/secureworkflow/output/allscenarios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
statuses: write # for github/super-linter to mark status of each linter run
1515
runs-on: ubuntu-latest
1616
steps:
17-
- name: Harden Runner
17+
- name: Harden the runner (Audit all outbound calls)
1818
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5 # v2.0.0
1919
with:
2020
egress-policy: audit

testfiles/secureworkflow/output/missingaction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
lint:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Harden Runner
11+
- name: Harden the runner (Audit all outbound calls)
1212
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5 # v2.0.0
1313
with:
1414
egress-policy: audit

testfiles/secureworkflow/output/noperms.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
lint:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Harden Runner
11+
- name: Harden the runner (Audit all outbound calls)
1212
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5 # v2.0.0
1313
with:
1414
egress-policy: audit

testfiles/secureworkflow/output/nopin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
statuses: write # for github/super-linter to mark status of each linter run
1515
runs-on: ubuntu-latest
1616
steps:
17-
- name: Harden Runner
17+
- name: Harden the runner (Audit all outbound calls)
1818
uses: step-security/harden-runner@v2
1919
with:
2020
egress-policy: audit

workflow-templates/scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
persist-credentials: false
4242

4343
- name: "Run analysis"
44-
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
44+
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
4545
with:
4646
results_file: results.sarif
4747
results_format: sarif

0 commit comments

Comments
 (0)