Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation Rules/Tuning & CICD Output #364

Open
danbutcher-payroc opened this issue Feb 5, 2025 · 0 comments
Open

Validation Rules/Tuning & CICD Output #364

danbutcher-payroc opened this issue Feb 5, 2025 · 0 comments

Comments

@danbutcher-payroc
Copy link

Couple of things relating to contentctl validate that would be good to get your thoughts on.

Validation using contentctl is very strict, with no OOTB support for tweaking what can be considered a warning or optional

We have a handful of detections and other knowledge objects that for one reason or another we either can't, or don't want to commit as code. The issue I frequently run in to is where we have a detection using a macro or lookup that's defined elsewhere (either defined in a separate app, or created in Splunk web).

I don't know what's planned for validation beyond 5.0, but it would be neat if we could 'tune' the validation for specific content, or as a blanket rule for things that just aren't strictly required. Macros and lookups are the two main things that come to mind, though I can imagine that arbitrary limits such as the need to have 2 drilldowns (or any at all for that matter) may also not be desirable for other users/orgs and could therefore be configured as optional.

CICD formatted output

Not even necessarily limited to just the validate command output. It would be nice if it were possible to produce output in json format for ease of machine reading as part of a CICD pipeline, the use case that comes to mind is for a validation action that produces error/warning annotations.

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

No branches or pull requests

1 participant