mirror of
https://github.com/step-security/harden-runner.git
synced 2026-06-08 21:17:05 +00:00
Add . at end of domain patterns
This commit is contained in:
parent
89c04c1cae
commit
0fe20c9a7d
7 changed files with 11 additions and 11 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
|
@ -2871,8 +2871,8 @@ const processLogLine = (line, tableEntries) => {
|
|||
process &&
|
||||
domain &&
|
||||
ipAddress &&
|
||||
!domain.endsWith(".actions.githubusercontent.com") &&
|
||||
!domain.endsWith(".blob.core.windows.net")) {
|
||||
!domain.endsWith(".actions.githubusercontent.com.") &&
|
||||
!domain.endsWith(".blob.core.windows.net.")) {
|
||||
const status = ipAddress.startsWith("54.185.253.63")
|
||||
? "❌ Blocked"
|
||||
: "✅ Allowed";
|
||||
|
|
|
|||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/post/index.js
vendored
4
dist/post/index.js
vendored
|
|
@ -2873,8 +2873,8 @@ const processLogLine = (line, tableEntries) => {
|
|||
process &&
|
||||
domain &&
|
||||
ipAddress &&
|
||||
!domain.endsWith(".actions.githubusercontent.com") &&
|
||||
!domain.endsWith(".blob.core.windows.net")) {
|
||||
!domain.endsWith(".actions.githubusercontent.com.") &&
|
||||
!domain.endsWith(".blob.core.windows.net.")) {
|
||||
const status = ipAddress.startsWith("54.185.253.63")
|
||||
? "❌ Blocked"
|
||||
: "✅ Allowed";
|
||||
|
|
|
|||
2
dist/post/index.js.map
vendored
2
dist/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/pre/index.js
vendored
4
dist/pre/index.js
vendored
|
|
@ -71281,8 +71281,8 @@ const processLogLine = (line, tableEntries) => {
|
|||
process &&
|
||||
domain &&
|
||||
ipAddress &&
|
||||
!domain.endsWith(".actions.githubusercontent.com") &&
|
||||
!domain.endsWith(".blob.core.windows.net")) {
|
||||
!domain.endsWith(".actions.githubusercontent.com.") &&
|
||||
!domain.endsWith(".blob.core.windows.net.")) {
|
||||
const status = ipAddress.startsWith("54.185.253.63")
|
||||
? "❌ Blocked"
|
||||
: "✅ Allowed";
|
||||
|
|
|
|||
2
dist/pre/index.js.map
vendored
2
dist/pre/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -41,8 +41,8 @@ export const processLogLine = (
|
|||
process &&
|
||||
domain &&
|
||||
ipAddress &&
|
||||
!domain.endsWith(".actions.githubusercontent.com") &&
|
||||
!domain.endsWith(".blob.core.windows.net")
|
||||
!domain.endsWith(".actions.githubusercontent.com.") &&
|
||||
!domain.endsWith(".blob.core.windows.net.")
|
||||
) {
|
||||
const status = ipAddress.startsWith("54.185.253.63")
|
||||
? "❌ Blocked"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue