Skip to main content

💥 Override configuration

You can override the configuration of your application on Escape by passing a partial JSON configuration. This configuration will be merged with the one on Escape using the deepmerge algorithm.

info

You can learn more about configuring your application on Escape here.

# https://github.com/Escape-Technologies/action
name: Post Deploy
on:
push:
branches:
- staging
jobs:
Escape:
runs-on: ubuntu-latest
steps:
- name: Escape Scan
uses: Escape-Technologies/action@v0
with:
application_id: ${{ secrets.ESCAPE_APPLICATION_ID }}
api_key: ${{ secrets.ESCAPE_API_KEY }}
configuration_override: '{"users":{"user1":{"auth":"schema1","headers":{"Authorization":"<YOUR_AUTH>"}}},"auth":{"schema1":{"tech":"manual"}}}'
# configuration_override_path: ./configuration_override.json # you can also use a file