Chef - Run Command
Chef - Run Command adds or removes recipes and attributes from Chef nodes.
See Creating Enforcement Sets to learn more about adding Enforcement Actions to Enforcement Sets.
When accessing an enforcement action using the API, you must use the backend form of field names.
Use the Syntax Helper to find the correct name. In the enforcement action, enable Configure Dynamic Values and select Syntax Helper.

Note
- Not all asset types are supported for all Enforcement Actions.
- See Actions supported for Activity Logs, Adapters Fetch History, and Asset Investigation modules.
- See Actions supported for Aggregated Security Findings.
- See Actions supported for Software.
General Settings
- Action name - The name of this Enforcement Action. The system sets a default name. You can change the name.
- Configure Dynamic Values (optional) - Toggle on to enter a Dynamic Value statement. See Creating Enforcement Action Dynamic Value Statements to learn more about Dynamic Value statement syntax.
Action Settings
- Recipe (optional) - The name of the recipe to be added to or removed from the chef node run list.
- Remove Recipe (optional) - Select Remove Recipe to remove the Recipe from the chef node run list.
For more details about other enforcement actions available, see Action Library.
Updated 11 months ago
Did this page help you?
