You are tasked with filtering queries in a CodeQL query suite. Which metadata tag matches on the last path component?
You want to enforce an enterprise policy that allows repository administrators within all organizations to enable GitHub Advanced Security for their repositories. Which option should you choose for this policy?
As a repository administrator, you can enable secret scanning on:
The autobuild step in the CodeQL workflow has failed. What should you do?
You are creating an application that will use the code scanning Application Programming Interface (API) to export an organization's alerts into a CSV file. What scope needs to be included in the GitHub token?
Assuming there is no custom Dependabot behavior configured, where possible, what does Dependabot do after sending an alert about a vulnerable dependency in a repository?
You have enabled security updates for a repository. When does GitHub mark a Dependabot alert as resolved for that repository?
Where in the repository can you give additional users access to secret scanning alerts?
What is the format of the GitHub security advisory form?
Where can you find a deleted line of code that contained a secret value?
What is the minimum role needed in order to view the secret scanning alerts list within the Security tab of a repository?
Which Dependabot configuration fields are required? (Each answer presents part of the solution. Choose three.)
Your security team requested that you enable the dependency graph. What happens when you enable this feature for your repository?
As a repository owner, you do not want to run a GitHub Actions workflow when changes are made to any .txt or markdown files. How would you adjust the event trigger for a pull request that targets the main branch? (Each answer presents part of the solution. Choose three.)
on:
pull_request:
branches: [main]
By default, where will secret scanning look in a repository in order to execute its job? (Each correct answer presents part of the solution. Choose three.)
Which of the following formats are used to describe a code scanning alert from CodeQL?
Which of the following tasks can be performed by a security team as a proactive measure to help address secret scanning alerts? (Each answer presents a complete solution. Choose two.)
When does Dependabot alert you of a vulnerability in your software development process?
Which of the following would raise secret scanning alerts?
Which of the following formats are used to describe a Dependabot alert? (Each answer presents a complete solution. Choose two.)
What permission level is required to manage code scanning alerts in a repository?
What is a prerequisite to define a custom pattern for a repository?
In a private repository, what minimum requirements does GitHub need to generate a dependency graph? (Each answer presents part of the solution. Choose two.)
To be compatible with code scanning, what data format must third-party code scanning tools use for output?
When does secret scanning skip reporting a secret?
Assuming that notification settings and Dependabot alert recipients have not been customized, which user account setting should you use to get an alert when a vulnerability is detected in one of your repositories?
Which of the following is the most complete method for Dependabot to find vulnerabilities in third-party dependencies?
A secret scanning alert should be closed as "used in tests" when a secret is:
What is the first step you should take to fix an alert in secret scanning?
What CodeQL query information must you specify to identify the results as a simple alert?
When secret scanning detects a set of credentials on a public repository, what does GitHub do?
You want to specify a CodeQL configuration file for a GitHub Actions workflow. Which input to the init step in the CodeQL action do you use to pass the path of the configuration file?
What do you need to do before you can define a custom pattern for a repository?
A colleague ignores a code scanning alert. What are the implications of the colleague's action? (Each answer presents part of the solution. Choose three.)
Assuming that no custom Dependabot behavior is configured, who has the ability to merge a pull request created via Dependabot security updates?
Who can fix a code scanning alert on a private repository?
What happens when you remove someone's access to a private repository?