Skip to content

Add even better dev container support with some scripts #64

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

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

GeekMasher
Copy link
Contributor

  • .devcontainer/bootstrap.sh: The CodeQL stub is no longer installed, and instead, two GitHub extensions, GitHubSecurityLab/gh-mrva and advanced-security/gh-codeql-scan, are installed. The script files in the .devcontainer/scripts/ directory are now made executable and copied to /usr/local/bin/. The CodeQL repository cloning process has also been updated to clone from the codeql-cli/latest branch.

  • .devcontainer/codeql.sh: This file has been completely removed.

  • .devcontainer/devcontainer.json: Several new Visual Studio Code extensions have been added to the development environment, including MS-vsliveshare.vsliveshare, lostintangent.github-security-alerts, ms-vscode.cpptools, ms-dotnettools.vscode-dotnet-runtime, ms-python.vscode-pylance, and redhat.java.

  • .devcontainer/scripts/codeql: This new script file checks for the existence of CodeQL in the path and runs it, or else it displays an error message asking to install the CodeQL extension in VSCode.

  • .devcontainer/scripts/codeql-scan: This new script file runs the gh codeql-scan command.

@GeekMasher GeekMasher requested a review from pwntester June 13, 2024 13:20
@GeekMasher GeekMasher marked this pull request as ready for review June 13, 2024 13:21
@GeekMasher GeekMasher merged commit 0e4fb92 into main Jun 14, 2024
12 checks passed
@GeekMasher GeekMasher deleted the devcontainer-scripts branch June 14, 2024 13:24
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