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

Added kubernetes audit datasource to values.schema.json #216

Merged
merged 6 commits into from
Dec 31, 2024
Merged
Changes from 5 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
54 changes: 44 additions & 10 deletions charts/crowdsec/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
},
{
"$ref": "#/definitions/HttpSource"
},
{
"$ref": "#/definitions/KubernetesSource"
}
]
}
Expand Down Expand Up @@ -161,7 +164,7 @@
},
"FileSource": {
"type": "object",
"description": "https://docs.crowdsec.net/docs/next/data_sources/file/",
"description": "https://docs.crowdsec.net/docs/next/log_processor/data_sources/file/",
"additionalProperties": false,
"properties": {
"source": {
Expand Down Expand Up @@ -210,7 +213,7 @@
},
"JournaldSource": {
"type": "object",
"description": "https://docs.crowdsec.net/docs/next/data_sources/journald/",
"description": "https://docs.crowdsec.net/docs/next/log_processor/data_sources/journald/",
"additionalProperties": false,
"properties": {
"source": {
Expand All @@ -234,7 +237,7 @@
},
"CloudwatchSource": {
"type": "object",
"description": "https://docs.crowdsec.net/docs/next/data_sources/cloudwatch/",
"description": "https://docs.crowdsec.net/docs/next/log_processor/data_sources/cloudwatch/",
"additionalProperties": false,
"properties": {
"source": {
Expand Down Expand Up @@ -299,7 +302,7 @@
},
"DockerSource": {
"type": "object",
"description": "https://docs.crowdsec.net/docs/next/data_sources/docker/",
"description": "https://docs.crowdsec.net/docs/next/log_processor/data_sources/docker/",
"additionalProperties": false,
"properties": {
"source": {
Expand Down Expand Up @@ -394,7 +397,7 @@
},
"KinesisSource": {
"type": "object",
"description": "https://docs.crowdsec.net/docs/next/data_sources/kinesis/",
"description": "https://docs.crowdsec.net/docs/next/log_processor/data_sources/kinesis/",
"additionalProperties": false,
"allOf": [
{
Expand Down Expand Up @@ -490,7 +493,7 @@
},
"SyslogSource": {
"type": "object",
"description": "https://docs.crowdsec.net/docs/next/data_sources/syslog/",
"description": "https://docs.crowdsec.net/docs/next/log_processor/data_sources/syslog/",
"additionalProperties": false,
"properties": {
"source": {
Expand Down Expand Up @@ -521,7 +524,7 @@
},
"HttpSource": {
"type": "object",
"description": "https://docs.crowdsec.net/docs/next/data_sources/http/",
"description": "https://docs.crowdsec.net/docs/next/log_processor/data_sources/http/",
"additionalProperties": false,
"properties": {
"source": {
Expand Down Expand Up @@ -614,7 +617,7 @@
},
"KafkaSource": {
"type": "object",
"description": "https://docs.crowdsec.net/docs/next/data_sources/kafka/",
"description": "https://docs.crowdsec.net/docs/next/log_processor/data_sources/kafka",
"additionalProperties": false,
"properties": {
"source": {
Expand Down Expand Up @@ -667,7 +670,7 @@
},
"WinEventLogSource": {
"type": "object",
"description": "https://docs.crowdsec.net/docs/next/data_sources/windows_evt_log/",
"description": "https://docs.crowdsec.net/docs/next/log_processor/data_sources/windows_evt_log/",
"additionalProperties": false,
"allOf": [
{
Expand Down Expand Up @@ -758,7 +761,7 @@
},
"LokiSource": {
"type": "object",
"description": "https://docs.crowdsec.net/docs/next/data_sources/loki",
"description": "https://docs.crowdsec.net/docs/next/log_processor/data_sources/loki/",
"properties": {
"source": {
"const": "loki"
Expand Down Expand Up @@ -815,6 +818,37 @@
}
},
"required": ["source", "url", "query"]
},
"KubernetesSource": {
"type": "object",
"description": "https://docs.crowdsec.net/docs/next/log_processor/data_sources/kubernetes_audit/",
"additionalProperties": false,
"properties": {
"source": {
"const": "k8s-audit"
},
"labels": {
"$ref": "#/definitions/Labels"
},
"listen_addr": {
"type": "string",
"default": "127.0.0.1",
"description": "Address on which the syslog will listen."
},
"listen_port": {
"type": "number",
"default": 9876,
"description": "The port on which the datasource will listen."
},
"webhook_path": {
"type": "string",
"default": "/webhook",
"description": "The path on which the datasource will accept requests from kubernetes."
}
},
"required": [
"source"
srkoster marked this conversation as resolved.
Show resolved Hide resolved
]
}
}
}
Loading