Skip to content

Commit

Permalink
change titles to bot / spam detection
Browse files Browse the repository at this point in the history
  • Loading branch information
niftyvictor committed Sep 12, 2024
1 parent 9e7a4fb commit 04aad5b
Show file tree
Hide file tree
Showing 20 changed files with 41 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ A more complete example of how to retrieve the request ID from the input body ca
The `requestId` should be required when the trying to reset password, sign in or sign up. If the `requestId` is not present, an error should be returned. You can see more in the [examples section](#examples).
:::

## Making the Request to the Anomaly Detection endpoint
## Making the Request to the Bot / Spam Detection endpoint

The request body is a JSON object that contains the following properties (all fields are optional):

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import CustomAdmonition from "/src/components/customAdmonition"

# Introduction

SuperTokens Anomaly Detection is a powerful security feature designed to identify and prevent suspicious activities in authentication and user sessions. It leverages various detection methods to enhance the security of your application.
SuperTokens Bot / Spam detection is a powerful security feature designed to identify and prevent suspicious activities in authentication and user sessions. It leverages various detection methods to enhance the security of your application.

:::important
This feature is **currently in beta** and not enabled by default. You can find out how to enable this feature [here](/docs/anomalydetection/enabling).
This feature is **currently in beta** and not enabled by default. You can find out how to enable this feature [here](/docs/botandspamdetection/enabling).
:::

## Features
Expand Down Expand Up @@ -43,17 +43,17 @@ Recognize and remember devices and requester details, even when they try to disg

## Flow diagram

The Anomaly Detection service is typically integrated into your authentication flow. It processes requests and provides risk assessments that you can use to enforce additional security measures, such as requiring two-factor authentication for suspicious logins or blocking high-risk attempts altogether.
The Bot / Spam detection service is typically integrated into your authentication flow. It processes requests and provides risk assessments that you can use to enforce additional security measures, such as requiring two-factor authentication for suspicious logins or blocking high-risk attempts altogether.

By leveraging these advanced detection methods, SuperTokens Anomaly Detection significantly enhances your application's security posture and helps protect your users from various types of account compromise attempts.
By leveraging these advanced detection methods, SuperTokens Bot / Spam detection significantly enhances your application's security posture and helps protect your users from various types of account compromise attempts.

Below is an high level overview of how this works:

<img src="/img/anomalydetection/sequence-diagram.png" alt="Anomaly detection flow"/>
<img src="/img/botandspamdetection/sequence-diagram.png" alt="Bot / Spam detection flow"/>

## Recipes integration

Different recipes have different ways of integrating with the anomaly detection feature.
Different recipes have different ways of integrating with the Bot / Spam detection feature.

### Passwordless

Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions v2/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,10 @@ module.exports = {
[
"@docusaurus/plugin-content-docs",
{
id: "anomalydetection",
path: "anomalydetection",
routeBasePath: "docs/anomalydetection",
sidebarPath: require.resolve("./anomalydetection/sidebars.js"),
id: "botandspamdetection",
path: "botandspamdetection",
routeBasePath: "docs/botandspamdetection",
sidebarPath: require.resolve("./botandspamdetection/sidebars.js"),
showLastUpdateTime: true,
editUrl: "https://github.com/supertokens/docs/tree/master/v2/",
remarkPlugins: remarkPlugins,
Expand Down
8 changes: 4 additions & 4 deletions v2/emailpassword/anomaly-detection.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: anomaly-detection
title: Anomaly Detection
id: bot-and-spam-detection
title: Bot / Spam Detection
hide_title: true
---

# Anomaly Detection
# Bot / Spam Detection

See our guide for anomaly detection [here](/docs/anomalydetection/introduction).
See our guide for anomaly detection [here](/docs/botandspamdetection/introduction).
2 changes: 1 addition & 1 deletion v2/emailpassword/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ module.exports = {
},
"mfa",
"multi-tenant",
"anomaly-detection",
"bot-and-spam-detection",
],
},
"scalability",
Expand Down
8 changes: 4 additions & 4 deletions v2/passwordless/anomaly-detection.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: anomaly-detection
title: Anomaly Detection
id: bot-and-spam-detection
title: Bot / Spam Detection
hide_title: true
---

# Anomaly Detection
# Bot / Spam Detection

See our guide for anomaly detection [here](/docs/anomalydetection/introduction).
See our guide for anomaly detection [here](/docs/botandspamdetection/introduction).
2 changes: 1 addition & 1 deletion v2/passwordless/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ module.exports = {
},
"mfa",
"multi-tenant",
"anomaly-detection",
"bot-and-spam-detection",
],
},
"scalability",
Expand Down
6 changes: 3 additions & 3 deletions v2/src/components/recipeBoxes/guides.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@
"path": "/docs/multitenancy/introduction"
},
{
"title": "Anomaly Detection",
"icon": "anomalyDetection",
"path": "/docs/anomalydetection/introduction"
"title": "Bot / Spam Detection",
"icon": "botandspamdetection",
"path": "/docs/botandspamdetection/introduction"
}
],
"ref": [
Expand Down
4 changes: 2 additions & 2 deletions v2/src/theme/NavbarItem/recipeSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ export default function RecipeSelector(props) {
active: activeSelector("anomaly_detection"),
})}
>
<a href="/docs/anomalydetection/introduction">
Anomaly Detection
<a href="/docs/botandspamdetection/introduction">
Bot / Spam Detection
</a>
</li>
</ul>
Expand Down
File renamed without changes
8 changes: 4 additions & 4 deletions v2/thirdparty/anomaly-detection.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: anomaly-detection
title: Anomaly Detection
id: bot-and-spam-detection
title: Bot / Spam Detection
hide_title: true
---

# Anomaly Detection
# Bot / Spam Detection

See our guide for anomaly detection [here](/docs/anomalydetection/introduction).
See our guide for anomaly detection [here](/docs/botandspamdetection/introduction).
2 changes: 1 addition & 1 deletion v2/thirdparty/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ module.exports = {
},
"mfa",
"multi-tenant",
"anomaly-detection",
"bot-and-spam-detection",
],
},
"scalability",
Expand Down
8 changes: 4 additions & 4 deletions v2/thirdpartyemailpassword/anomaly-detection.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: anomaly-detection
title: Anomaly Detection
id: bot-and-spam-detection
title: Bot / Spam Detection
hide_title: true
---

# Anomaly Detection
# Bot / Spam Detection

See our guide for anomaly detection [here](/docs/anomalydetection/introduction).
See our guide for anomaly detection [here](/docs/botandspamdetection/introduction).
2 changes: 1 addition & 1 deletion v2/thirdpartyemailpassword/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ module.exports = {
},
"mfa",
"multi-tenant",
"anomaly-detection",
"bot-and-spam-detection",
],
},
"scalability",
Expand Down
8 changes: 4 additions & 4 deletions v2/thirdpartypasswordless/anomaly-detection.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: anomaly-detection
title: Anomaly Detection
id: bot-and-spam-detection
title: Bot / Spam Detection
hide_title: true
---

# Anomaly Detection
# Bot / Spam Detection

See our guide for anomaly detection [here](/docs/anomalydetection/introduction).
See our guide for anomaly detection [here](/docs/botandspamdetection/introduction).
2 changes: 1 addition & 1 deletion v2/thirdpartypasswordless/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ module.exports = {
},
"mfa",
"multi-tenant",
"anomaly-detection",
"bot-and-spam-detection",
],
},
"scalability",
Expand Down

0 comments on commit 04aad5b

Please sign in to comment.