Skip to content

Conversation

GeekMasher
Copy link
Contributor

No description provided.

@Copilot Copilot AI review requested due to automatic review settings September 8, 2025 12:42
Copy link

github-actions bot commented Sep 8, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
actions/actions/download-artifact 4.*.* 🟢 5.6
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Maintained🟢 1013 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Binary-Artifacts🟢 10no binaries found in the repo
Packaging⚠️ -1packaging workflow not detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Pinned-Dependencies⚠️ 1dependency not pinned by hash detected -- score normalized to 1
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 9security policy file detected
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST🟢 10SAST tool is run on all commits
Vulnerabilities⚠️ 011 existing vulnerabilities detected
actions/actions/upload-artifact 4.*.* 🟢 4.8
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Maintained⚠️ 12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Binary-Artifacts🟢 10no binaries found in the repo
Packaging⚠️ -1packaging workflow not detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ -1no releases found
Pinned-Dependencies⚠️ 1dependency not pinned by hash detected -- score normalized to 1
Security-Policy🟢 9security policy file detected
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST🟢 9SAST tool detected but not run on all commits
Vulnerabilities⚠️ 19 existing vulnerabilities detected
actions/dtolnay/rust-toolchain nightly 🟢 6.1
Details
CheckScoreReason
Code-Review⚠️ 0Found 1/16 approved changesets -- score normalized to 0
Maintained🟢 1012 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Binary-Artifacts🟢 10no binaries found in the repo
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
Vulnerabilities🟢 100 existing vulnerabilities detected
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Security-Policy🟢 3security policy file detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0

Scanned Files

  • .github/workflows/publish.yml

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the extractor pack workflow by separating compilation and bundling into distinct jobs and introducing multi-platform support. The changes improve the CI/CD pipeline structure while also refactoring the codebase to use consolidated import files.

  • Separates extractor compilation and bundling into distinct workflow jobs with multi-platform support
  • Introduces dry-run functionality and improved error handling in publishing scripts
  • Consolidates provider and security imports into centralized modules
  • Removes Bicep language support from the extractor configuration

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.github/workflows/publish.yml Restructures workflow with separate compile and bundle jobs, adds multi-platform matrix build
scripts/publish-extractor-pack.sh Adds dry-run support, CodeQL binary detection, and dependency management
scripts/create-extractor-pack.sh Removes commented code and improves CodeQL binary detection
ql/lib/hcl.qll Consolidates imports to use new centralized Providers and Security modules
ql/lib/codeql/hcl/Providers.qll New file consolidating all provider imports
ql/lib/codeql/hcl/Security.qll New file consolidating security-related imports
codeql-extractor.yml Removes Bicep language support

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.


# create extractor pack
./scripts/create-extractor-pack.sh
# Check extracrtor-pack
Copy link
Preview

Copilot AI Sep 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in comment: 'extracrtor-pack' should be 'extractor-pack'.

Suggested change
# Check extracrtor-pack
# Check extractor-pack

Copilot uses AI. Check for mistakes.

with:
submodules: true

- name: "Downloadd all artifacts"
Copy link
Preview

Copilot AI Sep 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in step name: 'Downloadd' should be 'Download'.

Suggested change
- name: "Downloadd all artifacts"
- name: "Download all artifacts"

Copilot uses AI. Check for mistakes.

@GeekMasher GeekMasher merged commit 76f94f6 into main Sep 8, 2025
6 of 8 checks passed
@GeekMasher GeekMasher deleted the ci-updates branch September 8, 2025 12:43
submodules: true

- name: "Set up Rust"
uses: dtolnay/rust-toolchain@nightly

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Build and Publish Extractor Pack' step
Uses Step
uses 'dtolnay/rust-toolchain' with ref 'nightly', not a pinned commit hash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant