Skip to content

Commit 9a7d23c

Browse files
committed
feat: configuration_override_path
1 parent 208b6c8 commit 9a7d23c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ You can find theses values in your Escape application settings.
2525

2626
- `timeout`: The maximum time in seconds to wait for the scan to complete. Default is 1200 seconds.
2727
- `configuration_override`: A JSON override of the scan configuration. [See the docs on configuration overrides](https://escape.tech/docs/ci-cd/techniques/configuration-override)
28+
- `configuration_override_path`: Loads `configuration_override` from a file. [See the docs on configuration overrides](https://escape.tech/docs/ci-cd/techniques/configuration-override)
2829
- `introspection_file`: The relative path to a JSON file containing an introspection response for updating the application's introspection on Escape. [See the docs on introspection update](https://escape.tech/docs/ci-cd/techniques/introspection-update)
29-
- `shema_file`: The relative path to a GraphQL schema file for updating the application's introspection on Escape. [See the docs on introspection update](https://escape.tech/docs/ci-cd/techniques/introspection-update)
30+
- `schema_file`: The relative path to a GraphQL schema file for updating the application's introspection on Escape. [See the docs on introspection update](https://escape.tech/docs/ci-cd/techniques/introspection-update)
3031

3132
## Usage example
3233

@@ -44,5 +45,5 @@ jobs:
4445
with:
4546
application_id: ${{ secrets.ESCAPE_APPLICATION_ID }}
4647
api_key: ${{ secrets.ESCAPE_API_KEY }}
47-
# timeout: 1200 (default - in seconds)
48+
# timeout: 1200 (default - in seconds) (use 0 for non blocking pipelines)
4849
```

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ inputs:
1515
configuration_override:
1616
description: "Partial JSON configuration for the scan"
1717
required: false
18+
configuration_override_path:
19+
description: "Path to JSON file containing a partial configuration for the scan"
20+
required: false
1821
schema_file:
1922
description: "Path to the schema file"
2023
required: false
@@ -30,6 +33,7 @@ runs:
3033
ESCAPE_API_KEY: ${{ inputs.api_key }}
3134
TIMEOUT: ${{ inputs.timeout }}
3235
CONFIGURATION_OVERRIDE: ${{ inputs.configuration_override }}
36+
CONFIGURATION_OVERRIDE_PATH: ${{ inputs.configuration_override_path }}
3337
SCHEMA_FILE: ${{ inputs.schema_file }}
3438
INTROSPECTION_FILE: ${{ inputs.introspection_file }}
3539

0 commit comments

Comments
 (0)