This repository was archived by the owner on May 20, 2025. It is now read-only.
Update SecKit_geo_lookup.py "GeoIP2-Anonymous-IP.mmdb" if code to mat…#192
Open
githubkeithm wants to merge 1 commit into
Open
Update SecKit_geo_lookup.py "GeoIP2-Anonymous-IP.mmdb" if code to mat…#192githubkeithm wants to merge 1 commit into
githubkeithm wants to merge 1 commit into
Conversation
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
1 similar comment
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
|
recheck |
…ch the result dicto the anonymous_ip object attributes (as given at https://dev.maxmind.com/geoip/docs/databases/anonymous-ip?lang=en). Updated macros.conf and transforms.conf to support the changes to the result dic.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ch the result dictionary to the anonymous_ip object attributes (as given at https://dev.maxmind.com/geoip/docs/databases/anonymous-ip?lang=en). Updated Splunk macros.conf and transforms.conf to support the changes to the result dictionary. This work is to resolve the follow errors received when loading the "GeoIP2-Anonymous-IP.mmdb" database.
This work was to correct the following code exception(s):
Exception has occurred: AttributeError
'AnonymousIP' object has no attribute 'is_anonymous_proxy'
File "/opt/splunk/etc/apps/SecKit_SA_geolocation/bin/SecKit_geo_lookup.py", line 105, in main
result["is_anonymous_proxy"] = anon_response.is_anonymous_proxy
File "/opt/splunk/etc/apps/SecKit_SA_geolocation/bin/SecKit_geo_lookup.py", line 121, in
main()
And resulting Splunk error:
Error in 'lookup' command: Script execution failed for external search command '/opt/splunk/etc/apps/SecKit_SA_geolocation/bin/SecKit_geo_lookup.py'.
The search job has failed due to an error.