Sync s1-secops-skills: plugin 1.3.9, live-validated PowerQuery guidance and regression cases - #105
Merged
marcorottigni-s1 merged 1 commit intoOct 2, 2026
Conversation
…ce and regression cases
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.
Sync s1-secops-skills: plugin 1.3.9, live-validated PowerQuery guidance
This is a skills-only sync. The MCP and Docker image are unchanged: the image stays at
sentinelone/secops-mcps:1.4.8and the MCP at 1.3.9.What changed
The
powerqueryskill now documents only behaviour that was measured on a live console. Each statement points to a regression case inskills/powerquery/tests/live/pq_live_cases.json. All 68 cases pass.Subqueries
let-defined field, a subquery returns 0 rows with no error.joindoes.in:anycaseworks.any(a, b) in (subquery)is rejected.matchCountincludes the events the inner query scanned.Operators and functions
NOT f contains 'x'silently returns 0 rows.| filter xis a text search, not a true/false test.starts_with/ends_with,any()/all()across several fields, and triple-quoted strings.groupand strict after it.intersect_estimate_distincttype().expand()multiplies row countstoplimitscomparecolumn namingLookups
bydirection is enforced.datasetoutput accepts ordinary pipeline commands.savelookupwrites JSON or CSV depending on the name, and its'merge'behaviour is now documented.dataseterror codes are documented.Detection rules
matchesRequiredmust be between 1 and 1000.matchInOrderfollows the order events arrive, not their timestamps.entityis required, andentity: "none"works.| groupruns at the interval you request.dataset,savelookupand CIDR/wildcard lookups are rejected in scheduled rules; the exact errors are documented.data.coolOffSettings.renotifyMinutes.Activestatus is honoured; the rule reaches Active on its own in about 1 to 7 minutes.| groupalerted on 3 consecutive 10-minute runs and stayed silent on a run with no events.disableStreaksLogic, on by default) suppresses a result row that has already been alerted on. A grouped rule returning the same row raised one alert and then went silent, even though its windows still held data. With dedup off it alerted on every run.| group:now()/querystart(), CIDR and wildcard lookups, and lookups over 10,000 rows (exact error texts are documented);datasetordatasourceas the source,savelookup, atimebucketunder 30s, and a piped body with nogroup;matchesRequiredabove 1.Automatic lookups: the old unvalidated 100,000-row figure is replaced with limits measured when
/automaticLookupsis written (each over-limit write is rejected with HTTP 400):Enrichment is applied at query time, and the output field can be used as a filter.
Tests
skills/powerquery/tests/test_live_cases.py, checks that:Checks
sync-to-ai-siem.shverify: identities match 1.3.9, no real tenant identifiers, no new broken links, no runtime artefacts, no dangling symlinks.python3 -m unittest discover -s plugins/s1-secops-skills/skills/powerquery/tests: OK.dist/s1-secops-skills-v1.3.9.pluginreplaces 1.3.8.