Skip to content

Bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 in the go_modules group across 1 directory#2

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/go_modules-e1b2e84e8b
Closed

Bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 in the go_modules group across 1 directory#2
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/go_modules-e1b2e84e8b

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 21, 2025

Bumps the go_modules group with 1 update in the / directory: github.com/go-viper/mapstructure/v2.

Updates github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0

Release notes

Sourced from github.com/go-viper/mapstructure/v2's releases.

v2.4.0

What's Changed

New Contributors

Full Changelog: go-viper/mapstructure@v2.3.0...v2.4.0

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps the go_modules group with 1 update in the / directory: [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure).


Updates `github.com/go-viper/mapstructure/v2` from 2.3.0 to 2.4.0
- [Release notes](https://github.com/go-viper/mapstructure/releases)
- [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md)
- [Commits](go-viper/mapstructure@v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: github.com/go-viper/mapstructure/v2
  dependency-version: 2.4.0
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Aug 21, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 9, 2025

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@CodeMonkeyCybersecurity CodeMonkeyCybersecurity deleted the dependabot/go_modules/go_modules-e1b2e84e8b branch November 9, 2025 07:25
CodeMonkeyCybersecurity pushed a commit that referenced this pull request Nov 9, 2025
This commit addresses the 3 critical gaps identified in the adversarial analysis:

P0 FIX #1: Wire SaveCorrelationResults in orchestrator
- Added store dependency to CorrelationEngine
- Implemented convertChainsToCorrelationResults() to convert ExploitChain to CorrelationResult
- Call SaveCorrelationResults() after detecting attack chains in Phase 6
- Attack chains are now persisted to correlation_results table for historical analysis
- Files: internal/orchestrator/correlation.go, internal/orchestrator/bounty_engine.go

P0 FIX #2: Enhanced fingerprinting for edge cases
- Expanded metadata field extraction from 5 to 11 fields (added hostname, domain, ip, path, port, service)
- Improved evidence parsing with 4 patterns instead of 2 (added URL: prefix and Target: prefix detection)
- Added comprehensive inline documentation explaining edge case behavior
- Weak fingerprints (empty target) are acceptable because most scanners populate metadata
- Files: internal/database/store.go

P0 FIX #3: Add UpdateFindingStatus API and CLI commands
- Added 3 new methods to ResultStore interface: UpdateFindingStatus, MarkFindingVerified, MarkFindingFalsePositive
- Implemented all 3 methods in sqlStore with transaction safety and logging
- Added 3 new CLI commands:
  - shells results mark-fixed [finding-id] - enables regression detection
  - shells results mark-verified [finding-id] --unverify - manual verification tracking
  - shells results mark-false-positive [finding-id] --remove - false positive management
- Regression detection now functional (users can mark findings as fixed)
- Files: internal/core/interfaces.go, internal/database/store.go, cmd/results.go

IMPACT:
- Correlation results are now saved (enabling ML training and historical analysis)
- Fingerprinting is more robust (11 metadata fields + 4 evidence patterns)
- Users can now manage finding lifecycle (regression detection is now operational)

NEXT: Unit tests for fingerprinting and regression detection (P0 - 3 hours)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant