Skip to content

test commit#38

Open
agrasth wants to merge 12 commits intomainfrom
testPipelineChanges
Open

test commit#38
agrasth wants to merge 12 commits intomainfrom
testPipelineChanges

Conversation

@agrasth
Copy link
Contributor

@agrasth agrasth commented Dec 1, 2025

No description provided.

- Replace placeholder test.yml with proper test workflow supporting multiple OS
- Add security-scan.yml for JFrog audit and vulnerability scanning
- Add credential-validation.yml for Artifactory credentials validation
- Add frogbot.yml for automated security scanning and PR checks
- All workflows use Java 17 as required by Bamboo plugin
- Tests run on Ubuntu, Windows, and macOS for better coverage
- Add explicit JFrog CLI configuration step before audit commands
- Configure server details with URL and access token
- Fixes 'JFrog Xray URL must be provided' error in security-scan.yml
- Apply same fix to credential-validation.yml for consistency
- Sanitize error messages in BuildLog.java to prevent internal structure exposure
- Improve error handling in ServerConfigManagerImpl.java with generic messages
- Sanitize exception messages in JfrogServerConfigAction.java
- Add warning for HTTP connections to promote HTTPS usage
- Remove detailed exception information from user-facing error messages

Fixes 5 low-severity SAST findings from security audit
- Remove StringEscapeUtils dependency causing commons-lang3 compatibility issues
- Replace HTML escaping with simple character validation for Server ID
- Update test expectations to match sanitized error messages
- Fix test case for URL validation to match actual validation logic
- Update test to use truly malformed URL (https://[invalid-host)
- https:// alone is actually valid according to Java URL class
- All tests now pass successfully
- Remove manual JFrog CLI configuration steps
- The jfrog/setup-jfrog-cli@v4 action automatically configures CLI
- Fix 'Wrong number of arguments' error in jf config use command
- Use ARTIFACTORY_ACCESS_TOKEN consistently in security-scan.yml
@github-actions
Copy link

github-actions bot commented Dec 1, 2025

👍 Frogbot scanned this pull request and did not find any new security issues.


- Remove exception details from log.error calls to prevent information disclosure
- Improve HTTP validation logic with enhanced security messaging
- Address all remaining SAST findings for production security compliance
- Remove exception parameter from log.error calls in ServerConfigManagerImpl
- Prevents internal code structure exposure through error messages
- Addresses final SAST information disclosure vulnerabilities
@agrasth agrasth force-pushed the feature/improve-workflows branch from 95134d0 to 6b4ff09 Compare December 5, 2025 06:05
Base automatically changed from feature/improve-workflows to main December 5, 2025 06:14
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