Site icon Exam4Training

Which of the following is the best way for an enterprise to prevent certain marketplace actions from running?

Which of the following is the best way for an enterprise to prevent certain marketplace actions from running?
A . Create a list of the actions that are restricted from being used as an enterprise policy. Every other action can be run.
B . It is not possible; if an action is in the marketplace, its use cannot be restricted.
C . Create a list that is maintained as a. yml file in a. github repository specified in the enterprise. Only these actions can be run.
D . Create a list of the actions that are allowed to run as an enterprise policy. Only these actions can be run.

Answer: D

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.

Exit mobile version