Skip to content

Add comprehensive security scanning workflows for Java agent#127

Closed
lukeina2z wants to merge 1 commit intoaws:mainfrom
lukeina2z:security-scan-pr
Closed

Add comprehensive security scanning workflows for Java agent#127
lukeina2z wants to merge 1 commit intoaws:mainfrom
lukeina2z:security-scan-pr

Conversation

@lukeina2z
Copy link

This commit implements complete security scanning for aws-xray-java-agent:

  • CodeQL analysis for Java code security scanning with security-extended queries

  • Runs on PR/push and weekly schedule

  • Adapted for Java agent multi-module Gradle project structure

  • Scans published Maven artifacts from Maven Central twice daily

  • Monitors agent and plugin modules separately

  • Detects new vulnerabilities in existing published artifacts

  • Focuses on HIGH/CRITICAL severity issues requiring immediate action

  • Generates actionable summary reports with error handling

  • Special focus on key dependencies: X-Ray SDK Core and OpenTelemetry Java Agent

  • Comprehensive coverage: source code, dependencies, published Maven artifacts

  • Java-focused: OWASP Dependency Check, SpotBugs, FindSecBugs

  • Agent-specific: Multi-module scanning, OpenTelemetry integration awareness

  • Security-focused: commit hashes, proper permissions, categorized results

  • Production-ready: scans actual published artifacts from Maven Central

  • Robust: proper timeouts, error handling, and job dependencies

  • Actionable: clear reporting and GitHub Security tab integration

Addresses the critical security gap where aws-xray-java-agent had no automated security scanning despite being critical infrastructure used in production.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This commit implements complete security scanning for aws-xray-java-agent:

- CodeQL analysis for Java code security scanning with security-extended queries
- Runs on PR/push and weekly schedule
- Adapted for Java agent multi-module Gradle project structure

- Scans published Maven artifacts from Maven Central twice daily
- Monitors agent and plugin modules separately
- Detects new vulnerabilities in existing published artifacts
- Focuses on HIGH/CRITICAL severity issues requiring immediate action
- Generates actionable summary reports with error handling
- Special focus on key dependencies: X-Ray SDK Core and OpenTelemetry Java Agent

- Comprehensive coverage: source code, dependencies, published Maven artifacts
- Java-focused: OWASP Dependency Check, SpotBugs, FindSecBugs
- Agent-specific: Multi-module scanning, OpenTelemetry integration awareness
- Security-focused: commit hashes, proper permissions, categorized results
- Production-ready: scans actual published artifacts from Maven Central
- Robust: proper timeouts, error handling, and job dependencies
- Actionable: clear reporting and GitHub Security tab integration

Addresses the critical security gap where aws-xray-java-agent had no automated
security scanning despite being critical infrastructure used in production.
@lukeina2z lukeina2z requested a review from a team as a code owner September 24, 2025 01:12
@lukeina2z lukeina2z closed this by deleting the head repository Dec 17, 2025
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