mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
Add a default value / Arg to generate_script #312
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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
--checkor--fixto run without interaction.@golbiga commented on GitHub:
@PazDak This was added to the project. Thanks for the feedback.