Skip to content

feat: native macOS and Windows local tool install (+ container-mode)#54

Merged
Ishaanj18 merged 7 commits into
mainfrom
feat/mac-support
Jul 15, 2026
Merged

feat: native macOS and Windows local tool install (+ container-mode)#54
Ishaanj18 merged 7 commits into
mainfrom
feat/mac-support

Conversation

@Ishaanj18

@Ishaanj18 Ishaanj18 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Support local Phase-1 tool install and scans on macOS (Intel + Apple Silicon) and Windows (x64), alongside existing --container-mode via Docker Desktop.
  • Local tools: iac, sast, secret, container, gitleaks, sq-sast (dast / codeassure remain container-mode).
  • Release CI packages Darwin and Windows scanner tarballs; README covers dual-mode usage.

Platform notes

  • macOS: arch-aware downloads for OpenGrep, TruffleHog, Trivy, Gitleaks, SonarScanner. Checkov’s Darwin zip is mislabeled (arm64); Apple Silicon uses that zip, Intel Mac uses a dedicated pip venv.
  • Windows: native .exe / .bat install under %USERPROFILE%\AppData\Local\Programs\AccuKnox\; ToolManager resolves Windows paths.
  • Container-mode: normalized Docker volume mounts for macOS/Windows Desktop.
  • Drop unused PyPI asyncio dep; keep python_requires >= 3.9.

Enable cross-platform scans via Docker Desktop with normalized volume mounts,
platform-aware tool install guards, and macOS release builds in CI.
@Ishaanj18 Ishaanj18 marked this pull request as ready for review July 15, 2026 04:22
Ishaan Jain added 6 commits July 15, 2026 11:21
Enable tool install and local scans on Darwin for both arm64 and x86_64,
while keeping Docker --container-mode as an alternative. Package Darwin
scanner tarballs in release CI for both architectures.
Prefer directories when unpacking SonarScanner zip and restore +x on
bin and jre/bin so the embedded Java launcher works.
Use the stdlib asyncio module only. Leave python_requires at >=3.9 and
keep requests/pre-commit pins that still support 3.9.
Native x64 installers for Phase-1 scanners on Windows, release packaging,
and README updates for dual-mode Windows support.
Upstream Darwin Checkov zip is arm64 despite the X86_64 name — use
pip on Intel Macs, and exit non-zero when tool install/update fails.
Idempotent tool install no longer exits 1 when binaries already exist.
@Ishaanj18 Ishaanj18 changed the title feat: add macOS and Windows container-mode support feat: native macOS and Windows local tool install (+ container-mode) Jul 15, 2026
@IamShubhamS IamShubhamS self-requested a review July 15, 2026 08:59
@Ishaanj18 Ishaanj18 merged commit f4d77b9 into main Jul 15, 2026
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

Successfully merging this pull request may close these issues.

2 participants