-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update inspec_profile.ts with Profile README rewording #3080
base: main
Are you sure you want to change the base?
Conversation
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see my inline comments
@@ -417,24 +417,7 @@ Latest versions and other installation options are available at [CINC Auditor](h | |||
release of the profile, and _is not intended_ be used for formal and ongoing testing on systems. | |||
|
|||
[top](#table-of-contents) | |||
### Tailoring to Your Environment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please inform (convince) me that this language shouldn't be included.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should only expose to the user the inputs they are permitted to use when running the profile on the README. I don't want to say "don't touch the inspec.yml" any more than "don't touch the controls files". Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After our conversation, please go ahead and include your language in also. Sorry for the pushback.
@@ -469,8 +452,8 @@ For more information on developing overlays, reference the [MITRE SAF Training]( | |||
>Inputs are variables that are referenced by control(s) in the profile that implement them. | |||
They are declared (defined) and given a default value in the \`inspec.yml\` file. | |||
|
|||
#### Update Profile Inputs | |||
Inputs can be overridden by providing an input file or a CLI flag at execution time. | |||
#### Using Inputs from the CLI or Local File |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The title here is wrong. It implies that using a local file is not used with the CLI, which is not correct.
The CLI can use the --input or the --input-file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I see - How about "Using Tailored Inputs"?
#### Update Profile Inputs | ||
Inputs can be overridden by providing an input file or a CLI flag at execution time. | ||
#### Using Inputs from the CLI or Local File | ||
Your tailored inputs can be providing an input file or a CLI flag at execution time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain why use "Your tailored inputs can be" vs "Inputs can be overridden by"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about "Your tailored inputs may be used by". The overridden term reminds too much of "waiver" or "recast", a connotation of using inputs to avoid compliance. please?
|
||
InSpec provides several methods for customizing profiles behaviors at run-time that does not require | ||
modifying the \`inspec.yml\` file itself (see [Update Profile Inputs](#update-profile-inputs)). | ||
### Tailoring to Your Environment *While Still Complying* with the security guidance document for which this profile is based |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a fan of long titles, they are not supposed to explain but rater inform what is to be discussed. So I believe that the previous content is better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe in being intentional rather than concise for concise-sake. "Tailoring to you environment" alone gives the initial impression "Oh goody I can tailor any way I want!"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about:
Tailoring to Your Environment While Still Complying with the security guidance
#olivebranch
This pull request has a conflict. Could you fix it @ejaronne? |
No description provided.