File tree Expand file tree Collapse file tree 6 files changed +528
-2
lines changed
Expand file tree Collapse file tree 6 files changed +528
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ layout : default
3+ title : auth0
4+ parent : Checklists
5+ ---
6+
7+ # auth0 Security Checklist for DevSecOps
8+ {: .no_toc }
9+
10+ ## Table of contents
11+ {: .no_toc .text-delta }
12+
13+ 1 . TOC
14+ {: toc }
15+
16+ ---
17+
18+ <span class =" d-inline-block p-2 mr-1 v-align-middle bg-green-000 " ></span >List of some best practices to auth0 for DevSecOps
19+
20+
21+
22+
23+ ### Enable Multi-Factor Authentication (MFA)
24+
25+ ```
26+ auth0 rules create --name enable-mfa
27+ ```
28+
29+
30+ ### Set Strong Password Policies
31+
32+ ```
33+ auth0 connections update
34+ ```
35+
36+ ### Limit Number of Devices
37+
38+ ```
39+ Use Auth0 Dashboard to set device limits
40+ ```
41+
42+
43+ ### Enable Anomaly Detection
44+
45+ ```
46+ auth0 anomaly enable
47+ ```
48+
49+ ### Regularly Rotate Client Secrets
50+
51+ ```
52+ auth0 clients rotate-secret
53+ ```
54+
55+ ### Restrict Allowed Callback URLs
56+
57+ ```
58+ auth0 clients update --callbacks
59+ ```
60+
61+ ### Enable Automated Log Monitoring and Alerts
62+
63+ ```
64+ Use Auth0 Dashboard to configure alerts
65+ ```
66+
67+
68+ ### Use Role-Based Access Control (RBAC)
69+
70+ ```
71+ auth0 roles create
72+ ```
73+
Original file line number Diff line number Diff line change @@ -18,8 +18,54 @@ parent: Checklists
1818<span class =" d-inline-block p-2 mr-1 v-align-middle bg-green-000 " ></span >List of some best practices to AWS for DevSecOps
1919
2020
21- ### TEST
21+
22+
23+ ### Enable multi-factor authentication (MFA)
24+
25+ ```
26+ aws cognito-idp set-user-mfa-preference
27+ ```
28+
29+
30+ ### Set a strong password policy
31+
32+ ```
33+ aws cognito-idp update-user-pool
34+ ```
35+
36+ ### Enable advanced security features
37+
38+ ```
39+ aws cognito-idp set-user-pool-policy
40+ ```
41+
42+
43+ ### Limit the number of devices a user can remember
44+
45+ ```
46+ aws cognito-idp set-device-configuration
47+ ```
48+
49+ ### Set a session timeout for your user pool
50+
51+ ```
52+ aws cognito-idp update-user-pool-client
53+ ```
54+
55+ ### Enable account recovery method
56+
57+ ```
58+ aws cognito-idp set-account-recovery
59+ ```
60+
61+ ### Monitor and log all sign-in and sign-out events
62+
63+ ```
64+ aws cognito-idp create-user-pool-domain
65+ ```
66+
67+ ### Restrict access to your user pool only from certain IP ranges
2268
2369```
24- TEST
70+ aws cognito-idp update-resource-server
2571```
Original file line number Diff line number Diff line change 1+ ---
2+ layout : default
3+ title : eBPF
4+ parent : Checklists
5+ ---
6+
7+ # eBPF Security Checklist for DevSecOps
8+ {: .no_toc }
9+
10+ ## Table of contents
11+ {: .no_toc .text-delta }
12+
13+ 1 . TOC
14+ {: toc }
15+
16+ ---
17+
18+ <span class =" d-inline-block p-2 mr-1 v-align-middle bg-green-000 " ></span >List of some best practices to eBPF for DevSecOps
19+
20+
21+
22+
23+ ### Enable eBPF hardening
24+
25+ ```
26+ echo 1 > /proc/sys/net/core/bpf_jit_harden
27+ ```
28+
29+
30+ ### Limit eBPF program load
31+
32+ ```
33+ setcap cap_bpf=e /path/to/program
34+ ```
35+
36+ ### Restrict eBPF tracepoints access
37+
38+ ```
39+ echo 0 > /proc/sys/kernel/perf_event_paranoid
40+ ```
41+
42+
43+ ### Use eBPF to monitor system calls
44+
45+ ```
46+ bpftrace -e 'tracepoint:raw_syscalls:sys_enter { @[comm] = count(); }'
47+ ```
48+
49+ ### Enable eBPF-based security monitoring
50+
51+ ```
52+ bpftool prog load secmon.bpf /sys/fs/bpf/
53+ ```
54+
55+ ### Limit eBPF map operations
56+
57+ ```
58+ bpftool map create /sys/fs/bpf/my_map type hash key 4 value 4 entries 1024
59+ ```
60+
61+ ### Regularly update eBPF tools and libraries
62+
63+ ```
64+ apt-get update && apt-get upgrade libbpf-tools
65+ ```
Original file line number Diff line number Diff line change 1+ ---
2+ layout : default
3+ title : SBOM
4+ parent : Checklists
5+ ---
6+
7+ # SBOM Security Checklist for DevSecOps
8+ {: .no_toc }
9+
10+ ## Table of contents
11+ {: .no_toc .text-delta }
12+
13+ 1 . TOC
14+ {: toc }
15+
16+ ---
17+
18+ <span class =" d-inline-block p-2 mr-1 v-align-middle bg-green-000 " ></span >List of some best practices to SBOM for DevSecOps
19+
20+
21+
22+
23+ ### Generate SBOM for your software
24+
25+ ```
26+ cyclonedx-bom -o sbom.xml
27+ ```
28+
29+
30+ ### Validate the generated SBOM
31+
32+ ```
33+ bom-validator sbom.xml
34+ ```
35+
36+ ### Integrate SBOM generation in CI/CD pipeline
37+
38+ ```
39+ Add SBOM generation step in CI/CD script
40+ ```
41+
42+
43+ ### Regularly update the SBOM tools
44+
45+ ```
46+ apt-get update && apt-get upgrade cyclonedx-bom
47+ ```
48+
49+ ### Review and analyze SBOM for vulnerabilities
50+
51+ ```
52+ sbom-analyzer sbom.xml
53+ ```
54+
55+ ### Ensure SBOM is comprehensive and includes all components
56+
57+ ```
58+ Review SBOM and add missing components
59+ ```
60+
61+ ### Protect SBOM data with proper access controls
62+
63+ ```
64+ Configure access controls for SBOM data
65+ ```
66+
67+
68+ ### Monitor and update SBOM for each release
69+
70+ ```
71+ Automate SBOM update for each release
72+ ```
73+
Original file line number Diff line number Diff line change 1+ ---
2+ layout : default
3+ title : Terraform
4+ parent : Checklists
5+ ---
6+
7+ # Terraform Security Checklist for DevSecOps
8+ {: .no_toc }
9+
10+ ## Table of contents
11+ {: .no_toc .text-delta }
12+
13+ 1 . TOC
14+ {: toc }
15+
16+ ---
17+
18+ <span class =" d-inline-block p-2 mr-1 v-align-middle bg-green-000 " ></span >List of some best practices to Terraform for DevSecOps
19+
20+
21+
22+
23+ ### Enable detailed audit logging
24+
25+ ```
26+ terraform apply -var 'logging=true'
27+ ```
28+
29+
30+ ### Encrypt state files
31+
32+ ```
33+ terraform apply -var 'encrypt=true'
34+ ```
35+
36+ ### Use a strong backend access policy
37+
38+ ```
39+ terraform apply -backend-config="..."
40+ ```
41+
42+
43+ ### Limit the permissions of automation accounts
44+
45+ ```
46+ terraform apply -var 'permissions=limited'
47+ ```
48+
49+ ### Rotate secrets and access keys regularly
50+
51+ ```
52+ terraform apply -var 'rotate_secrets=true'
53+ ```
54+
55+ ### Use version constraints in configuration files
56+
57+ ```
58+ terraform apply -var 'version=..."
59+ ```
60+
61+ ### Validate configuration files before applying
62+
63+ ```
64+ terraform validate
65+ ```
66+
67+ ### Regularly update Terraform and providers
68+
69+ ```
70+ terraform init -upgrade
71+ ```
You can’t perform that action at this time.
0 commit comments