Skip to content

Commit 822424a

Browse files
fix: broken links after lapi/lp merge (#703)
1 parent 8c18054 commit 822424a

File tree

24 files changed

+48
-48
lines changed

24 files changed

+48
-48
lines changed

crowdsec-docs/docs/appsec/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sidebar_position: 6
99
Configuring the AppSec Component usually requires the use of multiple files:
1010

1111
- [AppSec rules](/appsec/rules_syntax.md) allow you to write a signature to detect and/or block malevolent requests. [You can find more information about the syntax here](/appsec/rules_syntax.md)
12-
- [acquisition configuration](/data_sources/appsec.md) indicates which port is the AppSec Component listening on, and which AppSec configuration it will use.
12+
- [acquisition configuration](/log_processor/data_sources/appsec.md) indicates which port is the AppSec Component listening on, and which AppSec configuration it will use.
1313
- AppSec configuration tells which rules are loaded in in-band (blocking) and out-of-band (non-blocking)
1414
phases. [it as well allows you to tweak the behavior of the component via the powerful expr bindings](/appsec/rules_syntax.md)
1515

crowdsec-docs/docs/appsec/create_rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Let's get over the relevant parts:
168168

169169
- `name` is how the alert will appear to users (in `cscli` or [the console](http://app.crowdsec.net))
170170
- `description` is how your scenario will appear in [the hub](https://hub.crowdsec.net)
171-
- `labels` section is used both in [the hub](https://hub.crowdsec.net) and [the console](https://app.crowdsec.net). [It must follow rules described here](/scenarios/format.md#labels)
171+
- `labels` section is used both in [the hub](https://hub.crowdsec.net) and [the console](https://app.crowdsec.net). [It must follow rules described here](/log_processor/scenarios/format.md#labels)
172172
- `rules` describe what we want to match:
173173
- a [`METHOD`](/appsec/rules_syntax.md#target) [equal to `POST`](/appsec/rules_syntax.md#match)
174174
- the presence of a header ([`HEADERS_NAME`](/appsec/rules_syntax.md#target)) with a name that once transformed to `lowercase`, is `x-foobar-bypass`

crowdsec-docs/docs/appsec/quickstart/nginxopenresty.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Additionally, we'll show how to monitor these alerts through the [console](https
2323
1. If you're new to the [AppSec Component](/appsec/intro.md#introduction) or **W**eb **A**pplication **F**irewalls, start with the [Introduction](/appsec/intro.md#introduction) for a better understanding.
2424

2525
2. It's assumed that you have already installed:
26-
- **CrowdSec [Security Engine](intro.mdx)**: for installation, refer to the [QuickStart guide](/u/getting_started/installation/linux). The AppSec Component, which analyzes HTTP requests, is included within the security engine as a [Acquisition](data_sources/appsec.md).
26+
- **CrowdSec [Security Engine](intro.mdx)**: for installation, refer to the [QuickStart guide](/u/getting_started/installation/linux). The AppSec Component, which analyzes HTTP requests, is included within the security engine as a [Acquisition](/log_processor/data_sources/appsec.md).
2727
- One of the supported web servers for this guide:
2828
- Nginx **[Remediation Component](/u/bouncers/intro)**: installation instructions are available in the [QuickStart guide](/u/bouncers/nginx).
2929
- OpenResty **[Remediation Component](/u/bouncers/intro)**: installation instructions are available in the [QuickStart guide](/u/bouncers/openresty).
@@ -89,7 +89,7 @@ We do not recommend exposing the AppSec Component to the internet. It should onl
8989
:::
9090

9191
:::info
92-
You can find more about the [supported options for the acquisition here](/data_sources/appsec.md)
92+
You can find more about the [supported options for the acquisition here](/log_processor/data_sources/appsec.md)
9393
:::
9494

9595
You can now restart CrowdSec:

crowdsec-docs/docs/appsec/quickstart/traefik.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Additionally, we'll show how to monitor these alerts through the [console](https
2020
1. If you're new to the [AppSec Component](/appsec/intro.md#introduction) or **W**eb **A**pplication **F**irewalls, start with the [Introduction](/appsec/intro.md#introduction) for a better understanding.
2121

2222
2. It's assumed that you have already installed:
23-
- **CrowdSec [Security Engine](intro.mdx)**: for installation, refer to the [QuickStart guide](/u/getting_started/installation/linux). The AppSec Component, which analyzes HTTP requests, is included within the security engine as a [Acquisition](data_sources/appsec.md).
23+
- **CrowdSec [Security Engine](intro.mdx)**: for installation, refer to the [QuickStart guide](/u/getting_started/installation/linux). The AppSec Component, which analyzes HTTP requests, is included within the security engine as a [Acquisition](/log_processor/data_sources/appsec.md).
2424
- 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.
2525

2626
:::info

crowdsec-docs/docs/configuration/crowdsec_configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ always replaced.
9797
- `bouncers/crowdsec-blocklist-mirror.yaml`
9898

9999
In the case of `profiles.yaml`, the files are read as a whole (as if they were
100-
attached) instead of merged. See [profiles - introduction](/profiles/intro.md).
100+
attached) instead of merged. See [profiles - introduction](/local_api/profiles/intro.md).
101101

102102

103103
## Configuration directives

crowdsec-docs/docs/contributing/hub.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ In other cases, having a parser for `SpecificWebServer` access logs would justif
4141

4242
### Scenarios
4343

44-
When you create a scenario, you must fill some fields in the [`labels`](/scenarios/format.md#labels), else the CI won't accept the contribution.
44+
When you create a scenario, you must fill some fields in the [`labels`](/log_processor/scenarios/format.md#labels), else the CI won't accept the contribution.
4545
Those `labels` are:
4646
- `classification`: this array contains the CVE ID and the [Mitre Techniques](https://attack.mitre.org/techniques/enterprise/) related to the scenario (when applicable)
4747
- `spoofable`: between 0 and 3, is the chance that the attacker behind the attack can spoof its origin
@@ -50,7 +50,7 @@ Those `labels` are:
5050
- `label` : a human readable name for the scenario
5151
- `cti` : (optional) true or false, used to specify that a scenario is mainly used for audit rather than detecting a threat
5252

53-
[Here](/scenarios/format.md#labels) is the `labels` documentation for more information.
53+
[Here](/log_processor/scenarios/format.md#labels) is the `labels` documentation for more information.
5454

5555
Here is an example:
5656

crowdsec-docs/docs/expr/file_helpers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar_position: 3
55
---
66

77
:::info
8-
File helpers do not load the file into memory, but rather use a cache on initial startup to avoid loading the same file multiple times. Please see [the data property](/scenarios/format.md#data) on how to configure the Security Engine to load the file.
8+
File helpers do not load the file into memory, but rather use a cache on initial startup to avoid loading the same file multiple times. Please see [the data property](/log_processor/scenarios/format.md#data) on how to configure the Security Engine to load the file.
99
:::
1010

1111
### `File(FileName) []string`

crowdsec-docs/docs/expr/intro.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ sidebar_position: 1
88
99
Several places of CrowdSec's configuration use [expr](https://github.com/antonmedv/expr), notably :
1010

11-
- [Filters](/parsers/format.md#filter) that are used to determine events eligibility in parsers, scenarios and profiles
12-
- [Statics](/parsers/format.md#statics) use expr in the `expression` directive, to compute complex values
13-
- [Whitelists](/whitelist/introduction.md) rely on `expression` directive to allow more complex whitelists filters
14-
- [Profiles](/profiles/intro.md) rely on `filters` directives to find matching profiles
11+
- [Filters](/log_processor/parsers/format.md#filter) that are used to determine events eligibility in parsers, scenarios and profiles
12+
- [Statics](/log_processor/parsers/format.md#statics) use expr in the `expression` directive, to compute complex values
13+
- [Whitelists](/log_processor/whitelist/introduction.md) rely on `expression` directive to allow more complex whitelists filters
14+
- [Profiles](/local_api/profiles/intro.md) rely on `filters` directives to find matching profiles
1515

1616
To learn more about [expr](https://github.com/antonmedv/expr), [check the github page of the project](https://github.com/antonmedv/expr/blob/master/docs/Language-Definition.md).
1717

1818

1919
When CrowdSec relies on `expr`, a context is provided to let the expression access relevant objects :
2020

2121
- `evt.` is the representation of the current event and is the most relevant object
22-
- in [profiles](/profiles/intro.md), alert is accessible via the `Alert` object
22+
- in [profiles](/local_api/profiles/intro.md), alert is accessible via the `Alert` object
2323

2424
If the `debug` is enabled (in the scenario or parser where expr is used), additional debug will be displayed regarding evaluated expressions.

crowdsec-docs/docs/expr/other_helpers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Parses unix timestamp string and returns RFC3339 formatted time
2525
### `GetFromStash(cache string, key string)`
2626

2727
`GetFromStash` retrieves the value for `key` in the named `cache`.
28-
The cache are usually populated by [parser's stash section](/parsers/format.md#stash).
28+
The cache are usually populated by [parser's stash section](/log_processor/parsers/format.md#stash).
2929
An empty string if the key doesn't exist (or has been evicted), and error is raised if the `cache` doesn't exist.
3030

3131
## Others

crowdsec-docs/docs/local_api/notification_plugins/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Plugins are defined and used at the LAPI level, so if you are running a multi-se
1313

1414
By default all plugins are shipped with CrowdSec are within the install package, and can trivially be enabled without further need to install additional packages.
1515

16-
Refer directly to each plugin's dedicated documentation and keep in mind that plugins needs to be enabled/dispatched at the [profile](/profiles/intro.md) level via the dedicated `notifications` section (defaults to `/etc/crowdsec/profiles.yaml`.md).
16+
Refer directly to each plugin's dedicated documentation and keep in mind that plugins needs to be enabled/dispatched at the [profile](/local_api/profiles/intro.md) level via the dedicated `notifications` section (defaults to `/etc/crowdsec/profiles.yaml`.md).
1717

1818
Plugin binaries are present in `config_paths.plugin_dir` (defaults to `/var/lib/crowdsec/plugins/`), and their individual configuration are present in `config_paths.notification_dir` (defaults to `/etc/crowdsec/notifications/`)
1919

0 commit comments

Comments
 (0)