Add a default value / Arg to generate_script #312

Closed
opened 2026-01-19 18:30:01 +00:00 by michael · 2 comments
Owner

Originally created by @PazDak on GitHub.

Problem to solve

I would like to make this easier to deploy and make it transparent to a user, but maintain the choice of an admin to choose whether to deploy with or without human interaction.

Intended users

Further details

def generate_script(baseline_name, build_path, baseline_yaml) is the base of the culprit. Give this the ability to bypass by giving it known commands.

Originally created by @PazDak on GitHub. ### Problem to solve I would like to make this easier to deploy and make it transparent to a user, but maintain the choice of an admin to choose whether to deploy with or without human interaction. ### Intended users ### Further details def generate_script(baseline_name, build_path, baseline_yaml) is the base of the culprit. Give this the ability to bypass by giving it known commands.
Author
Owner

@golbiga commented on GitHub:

@PazDak we're almost done with this, check out https://github.com/usnistgov/macos_security/tree/script_edit. It will generate the same compliance script, but you will be able to use a --check or --fix to run without interaction.

@golbiga commented on GitHub: @PazDak we're almost done with this, check out [https://github.com/usnistgov/macos_security/tree/script_edit](url). It will generate the same compliance script, but you will be able to use a `--check` or `--fix` to run without interaction.
Author
Owner

@golbiga commented on GitHub:

@PazDak This was added to the project. Thanks for the feedback.

@golbiga commented on GitHub: @PazDak This was added to the project. Thanks for the feedback.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: usnistgov/macos_security#312