-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Copy link
Description
Implement a new CI/CD integration command in the CellixJS repo to allow developers to run EdgeScan locally as a package.json script on macOS using Apple Native Containers.
Requirements:
- Add a new script to
package.jsonthat runs the EdgeScan official docker image using Apple Native Containers (colima/orbctlordockervia MacOS containers). - The command must expect
ES_API_TOKENto be present in the user's environment and pass it as--api-token. - The script should hardcode the EdgeScan
--asset-idto the DEV asset for now (this will later reference the local asset when available). - Provide clear developer documentation on how to use and prerequisites (Apple Silicon, Docker Desktop, or Apple Native Containers installed).
- The CI script should not run in CI/CD pipelines yet, only for local development.
- Rename the existing docker-based
edgescan:runscript toedgescan:agentand adjust relevant Copilot instructions to reflect this change. - Example Command:
pnpm run edgescan:dev --api-token $ES_API_TOKEN --asset-id <DEV_ASSET_ID> ...
Acceptance Criteria:
package.jsoncontains the new script for EdgeScan local execution on macOS- Script works natively on Apple Silicon containers
- Documentation updated for developer onboarding
- Asset ID is DEV asset for initial integration and replaced with local asset once available
- Existing
edgescan:runscript renamed toedgescan:agentand Copilot instructions updated accordingly