WEB-4805: EDR (SentinelOne) rehearsal harness#139
Draft
vigneshsubbiah16 wants to merge 1 commit into
Draft
Conversation
Push-button, dry-run-by-default harness to rehearse the signed+notarized macOS runtime against Salesloft's EDR (SentinelOne) on a throwaway EC2 Mac fixture before the customer sees anything, pick the surviving artifact by evidence (PyInstaller vs Nuitka), and re-image. Authoring only -- nothing executed against AWS or any live machine. Every live-action script defaults to dry-run/print-only and requires --execute; the benchling AWS profile is hard-refused; fail-open is preserved. All shell scripts pass shellcheck. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
WEB-4805: EDR (SentinelOne) rehearsal harness
Push-button, dry-run-by-default harness to rehearse Unbound's
signed+notarized macOS runtime against Salesloft's EDR (SentinelOne) on a
throwaway EC2 Mac fixture before the customer ever sees it, pick the
surviving artifact by evidence, and re-image so the rehearsal never pollutes
the Stream V fixtures.
Ticket: https://linear.app/unboundsec/issue/WEB-4805
What it does
(
mac2.metalarm64,mac1.metalintel), us-west-2, default profile.-nuitka) through thefull lifecycle: pkg install ->
onboard.sh-> all 5 hook events (PreToolUse,PostToolUse, UserPromptSubmit, Stop, SessionStart) -> discovery daemon run ->
--clear.tagged
{artifact, allowlist-state, run-id}.ZMA55FTA8Wallowlist(signer/cert "Suppress Alerts" +
/opt/unbound/*path exclusion).File tree (
tooling/edr-rehearsal/)Safety / constraints
fixture exists; this is authoring only.
explicit
--execute; AWS-touching scripts also print the 24h dedicated-hostcost warning and require typing
yes(or--yes).lib.sh.machine; the runtime fails open by design and the harness only ever targets a
throwaway fixture.
shellcheck(clean) and useset -euo pipefail,matching the
packaging/scripts/conventions.Pending (does not block authoring)
The S1 tenant + site token are pending the WEB-4805 sourcing decision (tracked
against WEB-4784); the harness is fully parameterized, so dropping the token +
agent pkg in later requires no script edits.
🤖 Generated with Claude Code