Skip to content

[BUG] Global disabled=1 default combined with missing metadata export guardrail disables searches across entire Splunk environment #476

@GCarr230

Description

@GCarr230

Describe the bug

After syncing our fork with the upstream contentctl repository (around Feb 13), a large number of reports and alerts across our entire Splunk environment were unexpectedly disabled.
Investigation suggests this was caused by a combination of two upstream changes:
A global [default] stanza was introduced in savedsearches_detections.j2 with disabled = 1, which defaults all searches to disabled
The metadata guardrail in metadata/default.meta (export = none under [savedsearches/default]) was removed
Because the metadata restriction was removed, the default disabled = 1 setting was applied globally across the Splunk environment instead of being confined to the ContentCTL app.

This resulted in:
Reports and alerts across multiple apps being disabled
Silent impact with no obvious warnings
Partial masking of the issue where some detections explicitly set disabled = 0

Expected behavior

Default search configurations should be scoped only to the ContentCTL-managed app
Metadata guardrails (export = none) should prevent configurations from impacting other apps
Upstream changes should not introduce behaviour that disables searches globally across the environment

Screenshots

N/A

contentctl Version:

v5.0.0

Additional context

Splunk logs indicate searches began disabling around Feb 12–13, aligning with when the upstream sync occurred
No merge conflicts were present during the sync
Detection alerts in our contentctl deployed app largely remained active due to explicit disabled = 0 settings
However, all other searches in all splunk apps were disabled(100+)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions