Which feature runs by default in CodeQL code scanning on GitHub?

Prepare for the GitHub Advanced Security Certification Test. Practice with multiple choice questions, detailed explanations, and hints. Achieve success on your first attempt!

Multiple Choice

Which feature runs by default in CodeQL code scanning on GitHub?

Explanation:
Code-scanning runs by default in GitHub's CodeQL code scanning. When you enable Code scanning, GitHub automatically executes the CodeQL analysis using the built-in workflow (the codeql-analysis.yml) so your repository is scanned across languages and issues are surfaced as code-scanning alerts in the Security tab. This default setup provides vulnerability and quality signals right away, triggered by common events like pushes and pull requests. Path Queries are a specific querying technique within CodeQL for tracing data flow along paths and aren’t a separate default feature, while the other named options don’t represent standard default capabilities in GitHub’s Code Scanning.

Code-scanning runs by default in GitHub's CodeQL code scanning. When you enable Code scanning, GitHub automatically executes the CodeQL analysis using the built-in workflow (the codeql-analysis.yml) so your repository is scanned across languages and issues are surfaced as code-scanning alerts in the Security tab. This default setup provides vulnerability and quality signals right away, triggered by common events like pushes and pull requests. Path Queries are a specific querying technique within CodeQL for tracing data flow along paths and aren’t a separate default feature, while the other named options don’t represent standard default capabilities in GitHub’s Code Scanning.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy