generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbolt.yml
47 lines (47 loc) · 1.47 KB
/
bolt.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
############################################
# Move this file to .github/worklows/bolt.yml
# in your repository to see Bolt in action.
############################################
name: Bolt Example
permissions:
contents: read
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Bolt
uses: koalalab-inc/[email protected]
with:
trusted_github_accounts: |
- akto-api-security
egress_rules: |
- destination: google.com
action: block
name: Block Google
- destination: ifconfig.me
action: allow
name: Allow ifconfig.me
continue-on-error: true
- name: Checkout
uses: actions/checkout@v4
- name: Curl Banned Domain
run: curl https://www.google.com
continue-on-error: true
- name: Curl Allowed Domain
run: curl https://ifconfig.me
continue-on-error: true
- name: Curl Some other Github Account API
run: |
curl -L \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/orgs/akto-api-security/repos
continue-on-error: true
- name: Curl Some other Github Account
run: |
curl -L \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/orgs/razorpay/repos
continue-on-error: true