Skip to content

Custom Framework API Spec #28798

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-04-28 14:02:49.518230",
"spec_repo_commit": "8964dc24"
"regenerated": "2025-04-29 16:14:54.910782",
"spec_repo_commit": "22937387"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-04-28 14:02:58.710366",
"spec_repo_commit": "8964dc24"
"regenerated": "2025-04-29 16:15:04.110142",
"spec_repo_commit": "22937387"
}
}
}
48 changes: 48 additions & 0 deletions config/_default/menus/api.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2863,6 +2863,54 @@ menu:
unstable:
- v2
order: 1
- name: Update a custom framework
url: '#update-a-custom-framework'
identifier: security-monitoring-update-a-custom-framework
parent: security-monitoring
generated: true
params:
versions:
- v2
operationids:
- UpdateCustomFramework
unstable: []
order: 4
- name: Get a custom framework
url: '#get-a-custom-framework'
identifier: security-monitoring-get-a-custom-framework
parent: security-monitoring
generated: true
params:
versions:
- v2
operationids:
- GetCustomFramework
unstable: []
order: 4
- name: Delete a custom framework
url: '#delete-a-custom-framework'
identifier: security-monitoring-delete-a-custom-framework
parent: security-monitoring
generated: true
params:
versions:
- v2
operationids:
- DeleteCustomFramework
unstable: []
order: 4
- name: Create a custom framework
url: '#create-a-custom-framework'
identifier: security-monitoring-create-a-custom-framework
parent: security-monitoring
generated: true
params:
versions:
- v2
operationids:
- CreateCustomFramework
unstable: []
order: 4
- name: Change the triage state of a security signal
url: '#change-the-triage-state-of-a-security-signal'
identifier: security-monitoring-change-the-triage-state-of-a-security-signal
Expand Down
186 changes: 186 additions & 0 deletions content/en/api/v2/security-monitoring/examples.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"data": {
"type": "custom_framework",
"attributes": {
"name": "name",
"handle": "create-framework-new",
"version": "10",
"icon_url": "test-url",
"requirements": [
{
"name": "requirement",
"controls": [
{
"name": "control",
"rules_id": [
"def-000-be9"
]
}
]
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"data": {
"type": "custom_framework",
"attributes": {
"name": "name",
"handle": "create-framework-new",
"version": "10",
"icon_url": "test-url",
"requirements": [
{
"name": "requirement",
"controls": [
{
"name": "control",
"rules_id": [
"def-000-be9"
]
}
]
}
]
}
}
}
14 changes: 14 additions & 0 deletions data/api/v2/CodeExamples.json
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,13 @@
"description": "Create a detection rule with type 'workload_security' returns \"OK\" response"
}
],
"CreateCustomFramework": [
{
"group": "security_monitoring",
"suffix": "",
"description": "Create a custom framework returns \"OK\" response"
}
],
"CreateSignalNotificationRule": [
{
"group": "security_monitoring",
Expand Down Expand Up @@ -1207,6 +1214,13 @@
"description": "Update an existing rule returns \"OK\" response"
}
],
"UpdateCustomFramework": [
{
"group": "security_monitoring",
"suffix": "",
"description": "Update a custom framework returns \"OK\" response"
}
],
"UpdateSecurityFilter": [
{
"group": "security_monitoring",
Expand Down
Loading
Loading