Skip to content

Commit

Permalink
fix: Add example Injection Protection plugin log (#8286)
Browse files Browse the repository at this point in the history
* Add example log

Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com>

---------

Signed-off-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
Co-authored-by: Angel <Guaris@users.noreply.github.com>
Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 19, 2024
1 parent 4d1035d commit 16dda53
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/_hub/kong-inc/injection-protection/overview/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,16 @@ Logs are automatically collected when you enable the Injection Protection plugin
* [UDP Log](/hub/kong-inc/udp-log/)
* [{{site.konnect_short_name}} Advanced Analytics](/konnect/analytics/) <!--though i'm not sure if they will do anything with them yet-->

Here's a sample log entry created by the Injection Protection plugin.

```
threat detected: 'sql', action taken: log_only, found in path_and_query, query param value: foo: insert into test
```
Where:
* The plugin detected a SQL injection threat
* It created a log entry but took no other actions
* The threat was found in the request path or query
* The inserted snippet is `foo: insert into test`

## Get started with the Injection Protection plugin
* [Configuration reference](/hub/kong-inc/injection-protection/configuration/)
Expand Down

0 comments on commit 16dda53

Please sign in to comment.