You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crowdsec-docs/docs/appsec/configuration.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ sidebar_position: 6
6
6
7
7
## Overview
8
8
9
-
This page explains the interraction between various files involved in AppSec configuration and the details about the processing pipeline AppSec request processing.
9
+
This page explains the interaction between various files involved in AppSec configuration and the details about the processing pipeline AppSec request processing.
10
10
11
11
**Prerequisites**:
12
12
- Familiarity with [AppSec concepts](/appsec/intro.md)
@@ -24,7 +24,7 @@ The goals of the acquisition file are:
24
24
- To specify the **address** and **port** where the AppSec-enabled Remediation Component(s) will forward the requests to.
25
25
- And specify one or more [AppSec configuration files](#appsec-configuration) to use as definition of what rules to apply and how.
26
26
27
-
Details can be found in the [AppSec Datasource page](/log_processor/data_sources/apps).
27
+
Details can be found in the [AppSec Datasource page](/log_processor/data_sources/appsec.md).
Copy file name to clipboardExpand all lines: crowdsec-docs/docs/appsec/quickstart/traefik.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Additionally, we'll show how to monitor these alerts through the [console](https
25
25
- Traefik Plugin **[Remediation Component](/u/bouncers/intro)**: Thanks to [maxlerebourg](https://github.com/maxlerebourg) and team they created a [Traefik Plugin](https://plugins.traefik.io/plugins/6335346ca4caa9ddeffda116/crowdsec-bouncer-traefik-plugin) that allows you to block requests directly from Traefik.
26
26
27
27
:::info
28
-
Prior to starting the guide ensure you are using the [Traefik Plugin](https://plugins.traefik.io/plugins/6335346ca4caa9ddeffda116/crowdsec-bouncer-traefik-plugin) and **NOT** the older [traefik-crowdsec-bouncer](https://app.crowdsec.net/hub/author/fbonalair/remediation-components/traefik-crowdsec-bouncer) as it hasnt recieved updates to use the new AppSec Component.
28
+
Prior to starting the guide ensure you are using the [Traefik Plugin](https://plugins.traefik.io/plugins/6335346ca4caa9ddeffda116/crowdsec-bouncer-traefik-plugin) and **NOT** the older [traefik-crowdsec-bouncer](https://app.crowdsec.net/hub/author/fbonalair/remediation-components/traefik-crowdsec-bouncer) as it hasnt received updates to use the new AppSec Component.
29
29
:::
30
30
31
31
:::warning
@@ -77,7 +77,7 @@ If you have a folder in which you are persisting the configuration files, you ca
77
77
There steps will change depending on how you are running the Security Engine. If you are running via `docker run` then you should launch the container within the same directory as the `appsec.yaml` file. If you are using `docker-compose` you can use a relative file mount to mount the `appsec.yaml` file.
78
78
79
79
Steps:
80
-
1. Change to the location where you exectued the `docker run` or `docker compose` command.
80
+
1. Change to the location where you executted the `docker run` or `docker compose` command.
81
81
2. Create a `appsec.yaml` file at the base of the directory.
82
82
3. Add the following content to the `appsec.yaml` file.
83
83
@@ -96,11 +96,11 @@ Since CrowdSec is running inside a container you must set the `listen_addr` to `
96
96
97
97
<FormattedTabs
98
98
docker={`# Note if you have a docker run already running you will need to stop it before running this command
99
-
docker run -d --name crowdsec -v /path/to/orginal:/etc/crowdsec -v ./appsec.yaml:/etc/crowdsec/acquis.d/appsec.yaml crowdsecurity/crowdsec`}
99
+
docker run -d --name crowdsec -v /path/to/original:/etc/crowdsec -v ./appsec.yaml:/etc/crowdsec/acquis.d/appsec.yaml crowdsecurity/crowdsec`}
100
100
dockerCompose={`services:
101
101
crowdsec:
102
102
volumes:
103
-
- /path/to/orginal:/etc/crowdsec ## or named volumes
103
+
- /path/to/original:/etc/crowdsec ## or named volumes
Copy file name to clipboardExpand all lines: crowdsec-docs/docs/getting_started/crowdsec_tour.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -250,7 +250,7 @@ Those metrics are a great way to know if your configuration is correct:
250
250
The `Acquisition Metrics` is a great way to know if your parsers are setup correctly:
251
251
252
252
- If you have 0 **LINES PARSED** for a source : You are probably *missing* a parser, or you have a custom log format that prevents the parser from understanding your logs.
253
-
- However, it's perfectly OK to have a lot of **LINES UNPARSED** : Crowdsec is not a SIEM, and only parses the logs that are relevant to its scenarios. For example, [ssh parser](https://hub.crowdsec.net/author/crowdsecurity/configurations/sshd-logs), only cares about failed authentication events (at the time of writting).
253
+
- However, it's perfectly OK to have a lot of **LINES UNPARSED** : Crowdsec is not a SIEM, and only parses the logs that are relevant to its scenarios. For example, [ssh parser](https://hub.crowdsec.net/author/crowdsecurity/configurations/sshd-logs), only cares about failed authentication events (at the time of writing).
254
254
-**LINES POURED TO BUCKET** tell you that your scenarios are matching your log sources : it means that some events from this log source made all their way to an actual scenario
Copy file name to clipboardExpand all lines: crowdsec-docs/docs/log_processor/data_sources/introduction.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ Make sure the same data sources are not ingested more than once: duplicating inp
34
34
Examples:
35
35
36
36
- If an application logs to both `journald` and `/var/log/*`, you usually only need one of them.
37
-
- If an application writes to `/var/log/syslog` or `/var/log/messages`, it’s already acquired by `setup.linux.yaml` (since 1.7) or `acquis.yam`. You don’t need to add a separate acquisition for the same logs.
37
+
- If an application writes to `/var/log/syslog` or `/var/log/messages`, it’s already acquired by `setup.linux.yaml` (since 1.7) or `acquis.yaml`. You don’t need to add a separate acquisition for the same logs.
38
38
39
39
:::
40
40
@@ -56,7 +56,7 @@ Name | Type | Stream | One-shot
56
56
-----|------|--------|----------
57
57
[Appsec](/log_processor/data_sources/appsec) | expose HTTP service for the Appsec component | yes | no
58
58
[AWS cloudwatch](/log_processor/data_sources/cloudwatch) | single stream or log group | yes | yes
59
-
[AWS kinesis](/log_processor/data_sources/kinesis)| read logs from a kinesis strean | yes | no
59
+
[AWS kinesis](/log_processor/data_sources/kinesis)| read logs from a kinesis stream | yes | no
60
60
[AWS S3](/log_processor/data_sources/s3)| read logs from a S3 bucket | yes | yes
[file](/log_processor/data_sources/file) | single files, glob expressions and .gz files | yes | yes
@@ -105,7 +105,7 @@ By default, when reading logs in real-time, crowdsec will use the time at which
105
105
106
106
Setting this option to `true` will force crowdsec to use the timestamp from the log as the time of the event.
107
107
108
-
It is mandatory to set this if your application buffers logs before writting them (for example, IIS when writing to a log file, or logs written to S3 from almost any AWS service).<br/>
108
+
It is mandatory to set this if your application buffers logs before writing them (for example, IIS when writing to a log file, or logs written to S3 from almost any AWS service).<br/>
109
109
If not set, then crowdsec will think all logs happened at once, which can lead to some false positive detections.
Copy file name to clipboardExpand all lines: crowdsec-docs/docs/log_processor/data_sources/syslog_service.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,6 @@ This module does not support command-line acquisition.
51
51
52
52
:::warning
53
53
This syslog datasource is currently intended for small setups, and is at risk of losing messages over a few hundreds events/second.
54
-
To process significant amounts of logs, rely on dedicated syslog server such as [rsyslog](https://www.rsyslog.com/), with this server writting logs to files that Security Engine will read from.
54
+
To process significant amounts of logs, rely on dedicated syslog server such as [rsyslog](https://www.rsyslog.com/), with this server writing logs to files that Security Engine will read from.
55
55
This page will be updated with further improvements of this data source.
0 commit comments