Skip to content

Conversation

@florianutz
Copy link

Description

This PR adds the dnslookup command to the LOOKUPS_TO_IGNORE list in contentctl/objects/lookup.py.

Motivation and Context

dnslookup is a standard external lookup command provided by default in Splunk Enterprise. Currently, contentctl raises a validation error if a detection uses this lookup, as it expects all lookups to be either defined within the app or explicitly ignored.

By adding it to the ignore list, we prevent false positive validation failures for detections that rely on this standard Splunk functionality.

Changes

  • Modified contentctl/objects/lookup.py: Added "dnslookup" to the LOOKUPS_TO_IGNORE set.

The 'dnslookup' command is a standard external lookup provided by default in Splunk Enterprise. This commit adds it to the LOOKUPS_TO_IGNORE set in 'contentctl/objects/lookup.py'. This prevents validation errors during the build process when detections reference this lookup, as it does not need to be packaged with the app.
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.

1 participant