Skip to content

fix: escape contact/location for idempotency check in cp_gaia_snmp#86

Open
acbk2b wants to merge 1 commit into
CheckPointSW:masterfrom
acbk2b:bugfix/cp_gaia_snmp-idempotency
Open

fix: escape contact/location for idempotency check in cp_gaia_snmp#86
acbk2b wants to merge 1 commit into
CheckPointSW:masterfrom
acbk2b:bugfix/cp_gaia_snmp-idempotency

Conversation

@acbk2b

@acbk2b acbk2b commented Jul 22, 2026

Copy link
Copy Markdown

What?

Fixes #84 : cp_gaia_snmp contact/location responses contain escaped characters

Why?

The current logic in cp_gaia_snmp causes the /set API to run every time, but reports changed: False.
This causes unnecessary API calls/writes

Full details described in issue 84

Testing?

I have tested this in my local environment using my GitHub fork as the collection source -- everything is working as intended

@acbk2b acbk2b closed this Jul 22, 2026
@acbk2b
acbk2b deleted the bugfix/cp_gaia_snmp-idempotency branch July 22, 2026 16:57
@acbk2b
acbk2b restored the bugfix/cp_gaia_snmp-idempotency branch July 22, 2026 17:04
@acbk2b acbk2b reopened this Jul 22, 2026
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.

cp_gaia_snmp contact/location responses contain escaped characters

1 participant