nerdexam
Microsoft

GH-500 · Question #86

What are the permissions and roles required to enable Dependabot alerts on GitHub?

The correct answer is A. Only users with admin access to a repository can enable Dependabot alerts. Enabling Dependabot alerts is an administrative action that requires repository admin access, as it modifies repository-level security settings.

Configure and use Dependabot and Dependency Review

Question

What are the permissions and roles required to enable Dependabot alerts on GitHub?

Options

  • AOnly users with admin access to a repository can enable Dependabot alerts.
  • BOnly repository maintainers can enable Dependabot alerts.
  • COnly users with write access to a repository can enable Dependabot alerts.
  • DAny user with access to a repository can enable Dependabot alerts.

How the community answered

(33 responses)
  • A
    94% (31)
  • B
    3% (1)
  • C
    3% (1)

Why each option

Enabling Dependabot alerts is an administrative action that requires repository admin access, as it modifies repository-level security settings.

AOnly users with admin access to a repository can enable Dependabot alerts.Correct

Repository admin access is required to enable Dependabot alerts because toggling security features is a repository administration function; GitHub restricts this capability to admins to prevent unauthorized changes to a repository's security posture and notification configuration.

BOnly repository maintainers can enable Dependabot alerts.

The maintainer role does not grant permission to change repository-level security settings; admin access is the minimum required permission level to enable Dependabot alerts.

COnly users with write access to a repository can enable Dependabot alerts.

Write access allows pushing code and managing issues but does not include the ability to modify repository security settings such as enabling Dependabot alerts.

DAny user with access to a repository can enable Dependabot alerts.

General repository access - such as read or triage level - does not provide the administrative permissions needed to enable Dependabot alerts.

Concept tested: Required admin permissions for enabling Dependabot alerts

Source: https://docs.github.com/en/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts

Topics

#Dependabot alerts#Repository permissions#Admin access#GitHub Advanced Security

Community Discussion

No community discussion yet for this question.

Full GH-500 Practice