Skip to content

Conversation

@s0nny78
Copy link

@s0nny78 s0nny78 commented Sep 9, 2025

Summary

  • Implement HTTP endpoint health checking plugin for compliance monitoring
  • Support for configurable HTTP requests with authentication and validation
  • Creates OSCAL-compliant evidence for audit trails

Features

  • HTTP Methods: GET, POST, PUT, DELETE support
  • Authentication: Basic auth with username/password
  • Validation: Status code checking (200-299 = success) and regex pattern matching
  • Configuration: Timeout, custom headers, certificate validation control
  • Evidence: Rich OSCAL evidence with activities, subjects, and properties

Test Configuration

Includes test configuration with three scenarios:

  • JSON endpoint with regex validation
  • Simple status check endpoint
  • Basic authentication endpoint

Files Added

  • plugins/http-collector/main.go - Plugin implementation
  • plugins/http-collector/test-config.yaml - Test configuration
  • Updated .gitignore to exclude plugin binaries

Testing

  • ✅ Successfully tested with live endpoints
  • ✅ Evidence creation confirmed via API
  • ✅ UI integration verified

- Implement HTTP endpoint health checking plugin
- Support for basic authentication, custom headers, timeouts
- Response validation with status codes and regex patterns
- Creates OSCAL-compliant evidence for compliance monitoring
- Add test configuration with multiple endpoint scenarios
- Update .gitignore to exclude plugin binaries
Run go fmt on plugins/http-collector/main.go to resolve CI formatting checks
@s0nny78 s0nny78 closed this Sep 9, 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.

2 participants