Skip to content

[WP] Use auto generated config doc - #39455

Open
theop-dd wants to merge 2 commits into
masterfrom
theop-dd/add-auto-generated-config-WP
Open

[WP] Use auto generated config doc#39455
theop-dd wants to merge 2 commits into
masterfrom
theop-dd/add-auto-generated-config-WP

Conversation

@theop-dd

@theop-dd theop-dd commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

What does this PR do? What is the motivation?

This PR use the auto generated version of the file workload_protection/setup/advanced_configuration from the repo datadog-agent instead of the hardcoded version. This PR is part of the global revamp of Workload Protection Documentation.

Merge readiness

  • Ready for merge

For Datadog employees:

  • ⚠️ Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). If you've already created your PR with an incorrect branch name, please rename your branch and open a fresh PR.
  • 🤖 New: Comment with /review to run an automated check that catches common issues before a Documentation team member reviews your PR.

AI assistance

Additional notes

@theop-dd
theop-dd requested review from a team as code owners August 25, 2026 14:18
@datadog-datadog-prod-us1-2

This comment has been minimized.

@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

@drichards-87
drichards-87 self-requested a review August 25, 2026 15:07
@drichards-87 drichards-87 added the editorial review Waiting on a more in-depth review label Aug 25, 2026
@theop-dd
theop-dd force-pushed the theop-dd/add-auto-generated-config-WP branch from 866f23d to d535ca2 Compare August 26, 2026 07:40
Comment thread hugo/.gitignore
content/en/security/workload_protection/backend_windows.md
content/en/security/workload_protection/linux_expressions.md
content/en/security/workload_protection/windows_expressions.md
content/en/security/workload_protection/workload_protection_agent_config.md

@StefonSimmons StefonSimmons Sep 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should remove this. the generated file from websites-sources is not committed to the repo

Suggested change
content/en/security/workload_protection/workload_protection_agent_config.md

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should remove the other ones then since they are using the same mechanism. Maybe these lines are artifacts from the previous mechanism

@StefonSimmons StefonSimmons Sep 11, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they are artifacts from previous mechanisms. you can remove them

path: /security/workload_protection/workload_protection_agent_config
aliases:
- /security/workload_protection/setup/advanced_configuration
- /security/workload_protection/setup/agent_variables

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@theop-dd So, I dont think this resulted in the expected outcome.

websites-sources#688 generates a new Docs file at content/en/security/workload_protection/workload_protection_agent_config.md. however, the following path doesnt exist for the left nav:

This Docs PR wants to remove the setup/advanced_configuration.md file and replace it with the above generated file, correct? If so, the left nav needs to reflect the change as well.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see the page I wanted to generate here too: https://docs-staging.datadoghq.com/theop-dd/add-auto-generated-config-WP/security/workload_protection/setup/advanced_configuration so it looks like it's working.
I'm not sure to understand the issue exactly, we can see it in the nav, it's under Setup/Advanced_Configuration which is the expected place

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@theop-dd the left nav should open to Setup -> Advanced Configuration for your new page but it is stuck at the Workload Protection header

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2026-09-11 at 3 15 24 PM

@github-actions github-actions Bot added the Architecture Everything related to the Doc backend label Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Architecture Everything related to the Doc backend editorial review Waiting on a more in-depth review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants