s1-secops-skills v1.2.8: detection-as-code learnings across skills#74
Merged
marcorottigni-s1 merged 6 commits intoJul 8, 2026
Merged
Conversation
- mgmt-console-api: custom-rule + alert operational learnings (1.0 operators do not evaluate at queryLang 2.0 and silently never fire; alerts inherit rule description; events/correlation vs scheduled alert-surface split; scheduled activation latency + PUT re-activation) - sdl-api: HEC ingestion notes (flat dotted keys beat nested JSON; HEC drives all three custom-rule types on AI-SIEM) - powerquery: 1.0-vs-2.0 operator note (ContainsCIS -> contains:anycase) - sdl-solutions: DaC playbook metadata-into-description footer + HEC end-to-end validation recipe; scaffold engine folds metadata into a [DaC] footer; events example uses contains:anycase - version bump to 1.2.8, rebuilt dist bundles
- monitors/requirements.txt: replace version-only pins with a fully hash-locked resolution (direct + transitive, 24 packages) generated from requirements.in via pip-compile --generate-hashes; verified installable under --require-hashes. - monitors/requirements.in: add regeneration source. - .gitignore: ignore __pycache__/ and *.pyc/*.pyo. - remove accidentally-tracked monitors/__pycache__/*.pyc bytecode. - README: note the lock is hash-pinned and how to regenerate.
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Captures the detection-as-code validation learnings from live testing into the relevant skills, and bumps the plugin to 1.2.8. No new solution, this hardens
sdl-solutionsDaC plus three sibling skills with confirmed-live behaviours.Learnings added
mgmt-console-api(custom detection rules + alerts): 1.0 operators (ContainsCIS) are accepted at create but do not evaluate underqueryLang 2.0and the rule silently never fires (usecontains:anycase); alerts inherit the ruledescription;events/correlationalerts appear in/cloud-detection/alertswhile scheduled alerts surface only in UAM; scheduled rules sit inActivating(up to ~1h) and every PUT resets activation.sdl-api(HEC): use flat dotted keys ({"event.category":"firewall"}), nested OCSF drops reserved namespaces; HEC data drives all three custom-rule types on an AI-SIEM tenant.powerquery: 1.0-vs-2.0 operator note in the operator reference.sdl-solutions(Detection-as-Code): the metadata-into-description[DaC]footer pattern and an end-to-end HEC validation recipe. Scaffold updated:dac_sync.pyfolds[metadata](mitre/tactics/tags/owner) into an idempotent footer,rule.schema.jsondocuments the keys, and the events example usescontains:anycase.Testing
All learnings were confirmed live on an AI-SIEM tenant: all three DaC rule types were enabled, fired from HEC-simulated data, and each alert carried the
[DaC] MITRE/tactics/tags/ownerfooter.Release
Plugin version 1.2.7 -> 1.2.8;
dist/rebuilt (s1-secops-skills-v1.2.8.plugin).