Skip to content

Commit 583e517

Browse files
committed
Update harden-runner template
1 parent 84135ad commit 583e517

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
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/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

0 commit comments

Comments
 (0)