-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (35 loc) · 1.24 KB
/
okta.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
name: Run Okta Scripts
on:
push:
branches:
- main
# schedule:
# - cron: "0 0 * * *" # Runs daily at midnight
workflow_dispatch: # Allows manual triggering of the workflow
jobs:
run-okta-scripts:
runs-on: ubuntu-latest
env:
OKTA_DOMAIN: ${{ secrets.OKTA_DOMAIN }}
OKTA_API_TOKEN: ${{ secrets.OKTA_API_TOKEN }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.x"
- name: Prepare Environment
id: prep
run: /bin/bash scripts/prep.sh
continue-on-error: false
- name: Run check-authentication-settings
run: python src/evidence-collection/okta/check_authentication_settings.py
- name: Run check-deactivated-users
run: python src/evidence-collection/okta/check_deactivated_users.py
- name: Run check-mfa-enrollments
run: python src/evidence-collection/okta/check_mfa_enrollments.py
- name: Run check-password-policies
run: python src/evidence-collection/okta/check_password_policies.py
- name: Run check-users-and-groups
run: python src/evidence-collection/okta/check_users_and_groups.py