Skip to content

Implement#9

Merged
oguarni merged 3 commits intomasterfrom
implement
Mar 9, 2026
Merged

Implement#9
oguarni merged 3 commits intomasterfrom
implement

Conversation

@oguarni
Copy link
Copy Markdown
Owner

@oguarni oguarni commented Mar 9, 2026

No description provided.

oguarni added 3 commits March 8, 2026 23:05
…teps

- Add .github/actions/terrasafe-scan/requirements.txt with core scanning
  deps (python-hcl2, scikit-learn, numpy, joblib) so the composite action
  can install dependencies without hitting 'No such file or directory'.
- Guard 'Upload SARIF' steps in devsecops.yml and terrasafe-scan.yml with
  hashFiles() condition and continue-on-error to prevent cascading failure
  when no .tf files are found or the scan produces no SARIF output.
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 9, 2026

TerraSafe Security Scan Results

Threshold: 70 | Status: ❌ FAILED

File Score Vulnerabilities Status
test_files/secure.tf 18 0 PASS
test_files/mixed.tf 31 2 PASS
test_files/vulnerable.tf 81 6 FAIL

Summary: 1/3 files exceed threshold (max score: 81)

Details for test_files/mixed.tf (score: 31)
  • MEDIUM: [MEDIUM] HTTP/HTTPS port 80 open to internet
  • MEDIUM: [MEDIUM] S3 bucket with partial public access
Details for test_files/vulnerable.tf (score: 81)
  • CRITICAL: [CRITICAL] Open security group - SSH port 22 exposed to internet
  • MEDIUM: [MEDIUM] HTTP/HTTPS port 80 open to internet
  • CRITICAL: [CRITICAL] Hardcoded password detected
  • HIGH: [HIGH] Unencrypted RDS instance
  • HIGH: [HIGH] Unencrypted EBS volume
  • HIGH: [HIGH] S3 bucket with public access enabled

@oguarni oguarni merged commit bf26bf0 into master Mar 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant