Commit Graph

5 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] d95e5362a9 Remove unused warnings import (linter fix) 2026-06-04 02:21:06 +00:00
copilot-swe-agent[bot] 717518e702 Fix CodeQL URL validation security alerts in tests
- Replace unsafe substring checking (in operator) with proper URL parsing
- Use urllib.parse.urlparse to validate URL components (scheme, netloc, path)
- Check specific URL parts (netloc) instead of substring matching anywhere in URL
- Fixes 3 CodeQL "Incomplete URL substring sanitization" alerts
- All 13 tests still passing
2026-06-04 02:20:12 +00:00
copilot-swe-agent[bot] f1a91d75ad Add comprehensive test coverage for Google SecOps module
- Added 9 new tests covering previously untested functionality
- Tests now cover: backward compatibility, deprecated parameters/functions, API client initialization, API endpoint generation, error handling, helper methods, detection fields structure, and IP enrichment
- All tests use mocking for API calls to avoid requiring actual credentials
- Total test count increased from 4 to 13 tests
- All tests passing with 100% success rate
2026-06-04 02:03:47 +00:00
copilot-swe-agent[bot] 8380bb102e Fix test_google_secops to use parsedmarc 10.x terminology 2026-06-04 01:25:39 +00:00
copilot-swe-agent[bot] b52a131859 Merge master branch: resolve conflicts and align with parsedmarc 10.x
- Resolve conflicts in README.md, docs/source/index.md, and parsedmarc/cli.py
- Migrate tests from tests.py to tests/test_google_secops.py
- Update webhook_forensic to webhook_failure terminology
- Update kafka_forensic to kafka_failure terminology
- Adopt _expand_file_path_args for file path handling
- Maintain Google SecOps Chronicle API integration
2026-06-04 01:15:38 +00:00