Skip to content

document agents_autodelete in the default suggested configs#1067

Merged
buixor merged 3 commits intomainfrom
agents_autodelete-doc
Apr 15, 2026
Merged

document agents_autodelete in the default suggested configs#1067
buixor merged 3 commits intomainfrom
agents_autodelete-doc

Conversation

@buixor
Copy link
Copy Markdown
Contributor

@buixor buixor commented Apr 15, 2026

No description provided.

@aws-amplify-eu-west-1
Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-1067.d1to60jd2gb6y6.amplifyapp.com

@buixor buixor marked this pull request as ready for review April 15, 2026 12:01
Copilot AI review requested due to automatic review settings April 15, 2026 12:01
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates CrowdSec documentation to better reflect configuration options and threat-context taxonomy.

Changes:

  • Adds additional industry_types values and replaces homelab_and_iot with SOHO in industry_risk_profiles documentation.
  • Documents agents_autodelete in the Kubernetes Helm values example and highlights it in the warning about avoiding orphaned resources.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
crowdsec-docs/unversioned/tracker_api/threat_context.mdx Expands/adjusts documented threat-context enum values for industry targeting and risk profiles.
crowdsec-docs/unversioned/getting_started/installation/kubernetes.mdx Adds agents_autodelete to the suggested Kubernetes config.yaml.local example and updates the related warning text.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

| `industry` | Manufacturing, industrial, and production organizations |
| `media` | Media, entertainment, and publishing organizations |
| `non_profit` | Non-profit organizations, NGOs, charities |
| `SOHO` | Small office / home office environments |
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

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

The new SOHO industry type value is formatted differently from all other industry_types keys (uppercase acronym vs lowercase snake_case). If the API actually returns a lowercase key (e.g., soho), this will mislead consumers; if it really is uppercase, consider adding a short note that this value is intentionally uppercase to avoid people normalizing it.

Suggested change
| `SOHO` | Small office / home office environments |
| `SOHO` | Small office / home office environments. This key is intentionally uppercase in API responses. |

Copilot uses AI. Check for mistakes.
Comment on lines 105 to +115
@@ -108,7 +112,7 @@ Classifies targets by their **technology risk profile** rather than their busine
"traditional_business": 6,
"public_service": 6,
"technology_business": 65,
"homelab_and_iot": 17
"SOHO": 17
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

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

industry_risk_profiles values are otherwise lowercase snake_case, but SOHO is now uppercase in both the table and JSON example. Please confirm the exact enum value returned by the API and align the casing accordingly (or explicitly document that this is intentionally uppercase).

Copilot uses AI. Check for mistakes.
Comment on lines +95 to +96
login_password: 6h
cert: 6h
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

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

The example adds agents_autodelete with login_password: 6h and cert: 6h, but the referenced default suggested config in docs/configuration/values_parameters.md uses login_password: 1h and doesn’t include cert. To avoid conflicting guidance, please either align this example with the documented defaults or explain why Kubernetes users should prefer a 6h setting and include cert here (especially since this example uses auto_registration for non-TLS auth).

Suggested change
login_password: 6h
cert: 6h
login_password: 1h

Copilot uses AI. Check for mistakes.
Comment on lines +74 to +79
| `education` | Schools, universities, and educational institutions |
| `financial_services` | Banks, insurance, fintech, financial institutions |
| `government` | Government agencies and public administration |
| `healthcare` | Healthcare providers, hospitals, medical organizations |
| `industry` | Manufacturing, industrial, and production organizations |
| `media` | Media, entertainment, and publishing organizations |
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

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

This PR is titled about documenting agents_autodelete in default suggested configs, but this file also changes the tracker API threat-context enum documentation (new industry_types/industry_risk_profiles values). If those changes aren’t directly required for the agents_autodelete doc update, consider splitting them into a separate PR to keep scope focused and ease review/reverts.

Copilot uses AI. Check for mistakes.
@buixor buixor merged commit 744ffee into main Apr 15, 2026
7 checks passed
@buixor buixor deleted the agents_autodelete-doc branch April 15, 2026 12:07
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.

3 participants