REST API for Security Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Monitoring and Reporting

What you'll be asked

  1. Which GitHub REST API endpoint is primarily used to retrieve a list of audit log events for an organization?
  2. When using the GitHub REST API to monitor security alerts for code scanning, which header must be included to ensure you are requesting the correct API version?
  3. You are building a script to monitor repository vulnerability alerts. If the API returns a 403 Forbidden status code, what is the most likely cause?
  4. Which strategy is recommended for handling large volumes of audit log data when using the GitHub REST API to avoid hitting rate limits?
  5. When auditing 'secret_scanning_alerts' via the REST API, how can you programmatically identify alerts that have been resolved as 'false_positive' versus those that were 'used_in_tests'?

Answers and explanations come after you submit.