GITHUB-ACTIONS · Question #62
Which of the following is the best way for an enterprise to prevent certain marketplace actions from running?
The correct answer is D. Create a list of the actions that are allowed to run as an enterprise policy. Only these actions can. The best way for an enterprise to control which GitHub Actions run is by creating a list of approved actions as an enterprise policy. This approach restricts workflows to only use the actions that are explicitly allowed, ensuring security and compliance within the organization.
Question
Which of the following is the best way for an enterprise to prevent certain marketplace actions from running?
Options
- ACreate a list of the actions that are restricted from being used as an enterprise policy. Every other
- BIt is not possible; if an action is in the marketplace, its use cannot be restricted.
- CCreate a list that is maintained as a . yml file in a . github repository specified in the enterprise.
- DCreate a list of the actions that are allowed to run as an enterprise policy. Only these actions can
How the community answered
(48 responses)- A4% (2)
- B2% (1)
- C10% (5)
- D83% (40)
Explanation
The best way for an enterprise to control which GitHub Actions run is by creating a list of approved actions as an enterprise policy. This approach restricts workflows to only use the actions that are explicitly allowed, ensuring security and compliance within the organization.
Topics
Community Discussion
No community discussion yet for this question.