Promptautomation
Linux Server Hardening and Security Audit Script Generator
DevOps prompt to generate an automated bash audit suite scanning open sockets, SUID binaries, and firewall compliance.
Prompt template
1
2
3
4
5
6
7
8
9
10
11
12
Construct an automated Bash auditing script for {{os_distribution}} server environments.
**Server Role:** {{server_role}}
**Audit Severity:** {{audit_level}}
**Script Execution Requirements:**
1. Audit active listening network sockets (`ss -tlpn`), flagging daemons inadvertently bound to `0.0.0.0`.
2. Scan for unexpected SUID/SGID executable binaries in standard paths.
3. Verify firewall status (UFW / nftables) and SSH daemon hardening parameters.
**Required Output Format:**
- Full bash…
Copy the template, add your details, and paste the prompt into your chosen AI service.
Comments · 0
Nothing here yet
Sign in to participate