Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ejaronne
Copy link
Contributor

No description provided.

@ejaronne ejaronne requested a review from georgedias November 22, 2024 19:35
Copy link

sonarcloud bot commented Nov 22, 2024

Copy link
Contributor

@georgedias georgedias left a 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
Copy link
Contributor

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.

Copy link
Contributor Author

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?

Copy link
Contributor Author

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
Copy link
Contributor

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.

Copy link
Contributor Author

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.
Copy link
Contributor

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"

Copy link
Contributor Author

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
Copy link
Contributor

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

Copy link
Contributor Author

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!"

Copy link
Contributor Author

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

Copy link
Contributor

mergify bot commented Nov 23, 2024

This pull request has a conflict. Could you fix it @ejaronne?

Base automatically changed from inspec_profile_auto_generated_readme to main November 25, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants