-
Notifications
You must be signed in to change notification settings - Fork 0
Implement EdgeScan local integration script for macOS developers in package.json #155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
nnoce14
wants to merge
7
commits into
main
Choose a base branch
from
nnoce14/issue154
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+99
−18
Draft
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
200a07f
Implement EdgeScan local integration script for macOS developers in p…
nnoce14 8782677
chore: update react-router-dom to version 7.12.0 to address vulnerabi…
nnoce14 fb66c0c
docs: remove container-apiserver commit hash in the introduction flag…
nnoce14 8c7ba16
docs: update local setup instructions for EdgeScan integration on macOS
nnoce14 3ebab03
docs: enhance EdgeScan setup instructions and clarify usage for local…
nnoce14 50f98c1
style: format script section in package.json for consistency
nnoce14 1507588
docs: improve clarity in EdgeScan setup instructions and correct mino…
nnoce14 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -104,6 +104,49 @@ pnpm run snyk:iac # IaC - scan Bicep templates for misconfigurations | |
|
|
||
| > **Note**: Only use the npm scripts listed above. Other Snyk scripts (`snyk:monitor`, `snyk:code:report`) are reserved for CI/CD pipeline use only. | ||
|
|
||
| ## Local EdgeScan Setup | ||
|
|
||
| EdgeScan is a **Dynamic Application Security Testing (DAST)** platform. Unlike Snyk or SonarCloud, which analyze source code, EdgeScan scans **live, running applications** to provide deep security intelligence and continuous vulnerability profiling for our serverless architecture. | ||
|
|
||
| **How to use:** | ||
| - Use `pnpm run edgescan:dev` to run local security validation scans. | ||
| - **DO NOT use** `edgescan:agent` - this script is strictly reserved for the **GitHub Copilot AI Coding Agent** and CI/CD automation. | ||
|
|
||
| ### Prerequisites | ||
|
|
||
| This setup is required for the `edgescan:dev` script. | ||
|
|
||
| #### 1. Apple Native Containers | ||
|
|
||
| This is a one-time setup for macOS developers. | ||
|
|
||
| 1. Download the `container-installer-signed.pkg` from the [Apple Native Containers releases](https://github.com/apple/container/releases). | ||
| 2. Run the installer. | ||
| 3. Once finished, start the container system: | ||
| ```bash | ||
| container system start | ||
| ``` | ||
| Input `Y` when prompted. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. security (generic-api-key): Detected a Generic API Key, potentially exposing access to various services and sensitive operations. Source: gitleaks |
||
| 4. Confirm it is working as expected: | ||
| ```bash | ||
| container system status | ||
| ``` | ||
| Expected output: | ||
| ```text | ||
| ❯ container system status | ||
| apiserver is running | ||
| ... | ||
| ``` | ||
|
|
||
| #### 2. EdgeScan API Token | ||
|
|
||
| 1. Log in to [intealth.edgescan.com](https://intealth.edgescan.com). | ||
| 2. Go to your **Profile Settings** and generate an API token for your account. | ||
| 3. Export the token in your terminal (consider adding this to your `~/.zshrc` or `~/.bashrc`): | ||
| ```bash | ||
| export ES_API_TOKEN="<your token here>" | ||
nnoce14 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ``` | ||
|
|
||
| ## Start Development | ||
|
|
||
| Run the development environment: | ||
|
|
||
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.