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

Add applies_to frontmatter #6559

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

Add applies_to frontmatter #6559

wants to merge 1 commit into from

Conversation

lcawl
Copy link
Contributor

@lcawl lcawl commented Mar 1, 2025

This PR is intended to show the type of applies_to frontmatter that should be included in security reference content (in particular, so that it can be considered in updates to the automated content).

I noticed that there seemed to be at least one deprecated rule, so I updated the frontmatter there appropriately:

---
applies_to:
  stack: deprecated 8.14.0
  serverless:
    security: deprecated all
---

... which is currently displayed as follows:

image

I've used all for now but going forward per https://docs-v3-preview.elastic.dev/elastic/docs-builder/tree/main/versions/#versions-and-lifecycle-states the appropriate version labels should be used when a feature is added. For example, if there's a new rule added in 9.0.0 or later, that V.R.M should be used in the frontmatter.

Copy link

github-actions bot commented Mar 1, 2025

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant