-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add local analysis orchestration #46
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
Closed
Closed
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
52e7a06
docs: plan issue 32 orchestration work
seonghobae 0c0412d
feat: add local analysis orchestration
seonghobae 9aaa484
fix: harden orchestration contract handling
seonghobae 2d21f07
fix: tighten orchestration review feedback
seonghobae 6edacf4
fix: resolve orchestration review gaps
seonghobae 9ea8134
fix: pin sbom generation tooling
seonghobae 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
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.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,9 @@ | ||
| fn main() { | ||
| tauri_build::build() | ||
| tauri_build::try_build( | ||
| tauri_build::Attributes::new().app_manifest( | ||
| tauri_build::AppManifest::new() | ||
| .commands(&["start_analysis_job", "get_analysis_job_status"]), | ||
| ), | ||
| ) | ||
| .expect("failed to build tauri application manifest"); | ||
| } |
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 |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "$schema": "../gen/schemas/desktop-schema.json", | ||
| "identifier": "main-capability", | ||
| "description": "Capability for the main BandScope window to use the analysis orchestration commands.", | ||
| "windows": ["main"], | ||
| "permissions": [ | ||
| "core:default", | ||
| "allow-start-analysis-job", | ||
| "allow-get-analysis-job-status" | ||
| ] | ||
| } |
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| {"main-capability":{"identifier":"main-capability","description":"Capability for the main BandScope window to use the analysis orchestration commands.","local":true,"windows":["main"],"permissions":["core:default","allow-start-analysis-job","allow-get-analysis-job-status"]}} |
2,268 changes: 2,268 additions & 0 deletions
2,268
apps/desktop/src-tauri/gen/schemas/desktop-schema.json
Large diffs are not rendered by default.
Oops, something went wrong.
2,268 changes: 2,268 additions & 0 deletions
2,268
apps/desktop/src-tauri/gen/schemas/macOS-schema.json
Large diffs are not rendered by default.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
apps/desktop/src-tauri/permissions/autogenerated/get_analysis_job_status.toml
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 |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Automatically generated - DO NOT EDIT! | ||
|
|
||
| [[permission]] | ||
| identifier = "allow-get-analysis-job-status" | ||
| description = "Enables the get_analysis_job_status command without any pre-configured scope." | ||
| commands.allow = ["get_analysis_job_status"] | ||
|
|
||
| [[permission]] | ||
| identifier = "deny-get-analysis-job-status" | ||
| description = "Denies the get_analysis_job_status command without any pre-configured scope." | ||
| commands.deny = ["get_analysis_job_status"] |
11 changes: 11 additions & 0 deletions
11
apps/desktop/src-tauri/permissions/autogenerated/start_analysis_job.toml
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 |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Automatically generated - DO NOT EDIT! | ||
|
|
||
| [[permission]] | ||
| identifier = "allow-start-analysis-job" | ||
| description = "Enables the start_analysis_job command without any pre-configured scope." | ||
| commands.allow = ["start_analysis_job"] | ||
|
|
||
| [[permission]] | ||
| identifier = "deny-start-analysis-job" | ||
| description = "Denies the start_analysis_job command without any pre-configured scope." | ||
| commands.deny = ["start_analysis_job"] |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
anchore syft latest release version 2026💡 Result:
Anchore Syft latest release (as of March 12, 2026) is v1.42.2, published March 9, 2026. [1]
Source: GitHub releases page for
anchore/syft. [1]🏁 Script executed:
Repository: seonghobae/bandscope
Length of output: 281
🏁 Script executed:
Repository: seonghobae/bandscope
Length of output: 6804
🏁 Script executed:
Repository: seonghobae/bandscope
Length of output: 116
🏁 Script executed:
Repository: seonghobae/bandscope
Length of output: 448
🏁 Script executed:
# Check the .github/workflows/sbom.yml file to understand context head -50 .github/workflows/sbom.ymlRepository: seonghobae/bandscope
Length of output: 1229
🏁 Script executed:
cat -n scripts/checks/verify_supply_chain.py | head -100Repository: seonghobae/bandscope
Length of output: 4825
Syft 바이너리 다운로드가 의존성 정책 요구사항을 위반합니다.
이 변경사항은 저장소의 의존성 정책(
docs/security/dependency-policy.md)의 두 가지 중요한 요구사항을 위반합니다:체크섬 검증 누락 (정책 72줄): 릴리스 산출물은 체크섬이나 동등한 무결성 데이터를 포함해야 합니다. 현재 코드는 외부 바이너리를 검증 없이 다운로드하고 실행하므로 공급망 공격에 취약합니다.
추적 누락 (정책 70줄): Syft는
supply-chain/supplemental-component-inventory.json에 추적되어야 하는 번들된 바이너리입니다. 현재 인벤토리는 비어있습니다.또한 Syft v1.20.0은 현재 최신 릴리스인 v1.42.2(2026년 3월 9일)에서 22개 마이너 버전 뒤처져 있어 보안 패치가 누락되어 있습니다.
다음을 수정해야 합니다:
🤖 Prompt for AI Agents