-
Notifications
You must be signed in to change notification settings - Fork 258
publish policy content info #16496
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
publish policy content info #16496
Conversation
Documentation ReviewThis PR adds detailed policy documentation for Pulumi's pre-built compliance packs. Overall, the content is well-structured and comprehensive. However, I've identified several issues that need to be addressed: Critical Issues1. Missing final newlines (AGENTS.md requirement) All 11 new files are missing the required trailing newline. From line references in the files:
Fix: Add a newline at the end of each file: sed -i '' 's/[[:space:]]*$//' content/docs/insights/policy/policy-packs/pre-built-packs/*.md
echo >> content/docs/insights/policy/policy-packs/pre-built-packs/cis-aws.md
echo >> content/docs/insights/policy/policy-packs/pre-built-packs/cis-azure.md
echo >> content/docs/insights/policy/policy-packs/pre-built-packs/cis-gcp.md
echo >> content/docs/insights/policy/policy-packs/pre-built-packs/hitrust-aws.md
echo >> content/docs/insights/policy/policy-packs/pre-built-packs/hitrust-azure.md
echo >> content/docs/insights/policy/policy-packs/pre-built-packs/hitrust-gcp.md
echo >> content/docs/insights/policy/policy-packs/pre-built-packs/nist-aws.md
echo >> content/docs/insights/policy/policy-packs/pre-built-packs/pci-dss-aws.md
echo >> content/docs/insights/policy/policy-packs/pre-built-packs/pulumi-best-practices-aws.md
echo >> content/docs/insights/policy/policy-packs/pre-built-packs/pulumi-best-practices-azure.md
echo >> content/docs/insights/policy/policy-packs/pre-built-packs/pulumi-best-practices-gcp.mdMinor Issues2. Empty cells in policy tables Some policies have empty "Framework Reference" and "Framework Specification" columns. For example, in pulumi-best-practices-aws.md:
Suggestion: Either fill in the missing framework references or add a note explaining why certain policies don't have framework mappings. 3. Grammar inconsistency in descriptions Policy descriptions use mixed tenses and sentence structures:
Recommendation: Standardize to one form, preferably starting with the imperative "Ensure" (without the 's') for consistency with technical documentation best practices. Examples from cis-aws.md:
Positive Notes
Please address the critical issue (missing newlines) before merging, as this is a hard requirement per AGENTS.md. The grammar inconsistencies should also be fixed for better documentation quality. Mention @claude if you'd like me to review the changes after updates or help with any fixes. |
|
Your site preview for commit 4e74a22 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16496-4e74a22a.s3-website.us-west-2.amazonaws.com. |
|
Your site preview for commit 741329d is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16496-741329d6.s3-website.us-west-2.amazonaws.com. |
|
Your site preview for commit f17d17e is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16496-f17d17e6.s3-website.us-west-2.amazonaws.com. |
|
Your site preview for commit a0a0099 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16496-a0a00998.s3-website.us-west-2.amazonaws.com. |
Documentation ReviewI've reviewed this PR that adds tables describing all policies for each pre-built pack. Overall, the structure and content organization look good. However, I found several grammar issues that need to be corrected. Issues FoundGrammar: Subject-verb agreement errorsMultiple policy descriptions have subject-verb agreement errors. The pattern "Check/Checks that [plural subject] uses" is grammatically incorrect. It should be either:
Examples from the files:
All affected instances: Suggested fixes:For descriptions starting with "Check that [plural noun] uses": For descriptions starting with "Checks that [plural noun] uses": Positive Observations
RecommendationPlease correct all subject-verb agreement errors before merging. You can find these by searching for:
Mention @claude if you'd like me to help identify all specific instances or provide a complete list of lines to fix. |
CamSoper
left a comment
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 love this, this is very thorough and helpful. No notes.
Add tables describing all policies for each pre-built pack