Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions src/content/docs/en/pages/guides/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ permalink: /documentation/products/guides/
- [How to install the IP Address Reputation integration through Azion Marketplace](/en/documentation/products/guides/ip-address-reputation/)
- [How to install the JWT integration through Azion Marketplace](/en/documentation/products/guides/jwt/)
- [How to install the Limit Payload Size integration through Azion Marketplace](/en/documentation/products/guides/limit-payload-size/)
- [How to install the Liveness Detection integration from Azion Marketplace](/en/documentation/products/guides/liveness-detection/)
- [How to install the Massive Redirect integration through Azion Marketplace](/en/documentation/products/guides/massive-redirect-integration/)
- [How to install the Method and Route Validator integration through Azion Marketplace](/en/documentation/products/guides/method-and-route-validator/)
- [How to install the Radware Bot Manager integration through Azion Marketplace](/en/documentation/products/guides/radware-bot-manager/)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
---
title: "How to Install the Liveness Detection Integration from Azion Marketplace"
description: >-
Liveness Detection is a biometric authentication integration powered by Saffe that runs on Azion's distributed architecture to prevent spoofing attacks using photographs or videos in real time.
meta_tags: 'liveness detection, biometric authentication, facial recognition, anti-spoofing, saffe, marketplace, functions, edge computing'
namespace: docs_guides_liveness_detection
permalink: /documentation/products/guides/liveness-detection/
---

**Liveness Detection** is a *serverless* integration available at Azion **Marketplace**, powered by [Saffe](https://saffe.ai/). It provides a biometric authentication system with facial recognition designed to prevent spoofing attempts using photographs or videos.

When installed, the integration deploys a new **Application** on the Azion Web Platform along with an Azion domain, giving you a ready-to-use liveness detection endpoint. The **Function** runs on Azion's distributed architecture, processing image data at the network edge to deliver low-latency, real-time identity verification without routing requests to a centralized origin.

:::note
Liveness Detection requires an active Saffe account. Visit [saffe.ai](https://saffe.ai/) to learn more about plans and credentials.
:::

---

## Getting the integration

To install **Liveness Detection** from Azion Marketplace:

1. Access [Azion Console](/en/documentation/products/guides/how-to-access-azion-console/) > **Marketplace**.
2. On the Marketplace homepage, type `Liveness Detection` in the search bar or browse the integration cards.
3. Select the **Liveness Detection** card.
4. Once the integration's page opens, click the **Install** button at the bottom-right corner of the page.

A success message confirms the integration was installed. The installation process automatically creates a new **Application** and an Azion domain for you.

:::tip
You can search for any integration by browsing through the cards, using the filters, or typing a keyword in the search bar.
:::

---

## Reviewing the deployed function

After installation, a **Function** named **Face Detection** is added to your account. To review its configuration:

1. On the **Products menu**, go to **Build** > **Functions**.
2. From the list of functions, select **Face Detection**.
3. On the function's page, review the available tabs:
- **Code**: a read-only editor showing the function's source code.
- **Arguments**: a JSON editor where you can configure and store the parameters used by the function at runtime.

---

## Reviewing the deployed application

The installation also creates a new **Application** pre-configured with the Liveness Detection function. To review it:

1. On the **Products menu**, go to **Build** > **Applications**.
2. Select the application created by the Liveness Detection integration.
3. Navigate to the **Functions** tab to view the instantiated function and its configuration.

---

## Accessing the Liveness Detection endpoint

The integration generates a new Azion domain automatically. To access it:

1. On the **Products menu**, select **Domains**.
2. Locate the domain associated with the Liveness Detection application.
3. Copy the domain address.
4. Open the domain in a new browser tab.

You now have a fully functional biometric authentication system with facial recognition running on Azion's distributed architecture.

---

## How it works

For each incoming request, the Liveness Detection function:

1. Captures image frames submitted by the client.
2. Sends the data to Saffe's API for real-time liveness analysis.
3. Returns a response indicating whether the subject is a live person or a spoofing attempt (photograph, video, or mask).

The function runs directly on Azion's distributed infrastructure, reducing round-trip latency and keeping sensitive biometric data processing as close to the user as possible.

---

## Configuring the Arguments

You can customize the function behavior by editing the **Arguments** tab in the **Face Detection** function. The arguments are stored as a JSON structure and passed to the function at runtime.

To update the arguments:

1. On the **Products menu**, go to **Build** > **Functions**.
2. Select the **Face Detection** function.
3. Click the **Arguments** tab.
4. Edit the JSON structure with your Saffe credentials and configuration parameters.
5. Click the **Save** button.

Refer to [Saffe's documentation](https://saffe.ai/) for the full list of supported parameters and authentication credentials required to connect to the Saffe API.

---

## Monitoring

Use Azion observability tools to monitor the Liveness Detection integration:

- **[Real-Time Events](/en/documentation/products/observe/real-time-events/)**: Access the **Functions** tab to inspect individual request logs and function responses.
- **[Data Stream](/en/documentation/products/observe/data-stream/)**: Create a stream using the **Functions Event Collector** template to forward logs to your preferred endpoint for long-term analysis.

---
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ Integrations based on Firewall functions cover the following scenarios and use c
| [Send Event to Endpoint](/en/documentation/products/guides/send-event-to-endpoint/) | Stream request data to an HTTP endpoint, taking the request data and transmitting it to a user-defined endpoint via JavaScript fetch API. |
| [reCaptcha](/en/documentation/products/guides/recaptcha/) | Protect your domains against bots, monitoring traffic in your website through the Google Dashboard for reCAPTCHA. |
| [hCaptcha](/en/documentation/products/guides/hcaptcha/) | Protect your domains against bots, monitoring traffic on your website by using the hCaptcha dashboard. |
| [Liveness Detection](/en/documentation/products/guides/liveness-detection/) | Biometric authentication with facial recognition to prevent spoofing attempts using photographs or videos, powered by Saffe. |
| [JWT](/en/documentation/products/guides/jwt/) | Grant and revoke privileges using KIDs and secrets, and set expiration dates. |
| [Secure Token](/en/documentation/products/guides/secure-token/) | Make token-based, time-limited URLs. |
| [Scheduled Blocking](/en/documentation/products/guides/scheduled-blocking/) | Control the access to your application based on a time schedule, according to your needs. |
Expand Down
1 change: 1 addition & 0 deletions src/content/docs/pt-br/pages/guias/guides.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ permalink: /documentacao/produtos/guias/
- [Como utilizar a integração IP Address Reputation através do Marketplace da Azion](/pt-br/documentacao/produtos/guias/ip-address-reputation/)
- [Como utilizar a integração JWT através do Marketplace da Azion](/pt-br/documentacao/produtos/guias/jwt/)
- [Como utilizar a integração Limit Payload Size através do Marketplace da Azion](/pt-br/documentacao/produtos/guias/limit-payload-size/)
- [Como instalar a integração Liveness Detection do Azion Marketplace](/pt-br/documentacao/produtos/guias/liveness-detection/)
- [Como utilizar a integração Massive Redirect com Azion Marketplace](/pt-br/documentacao/produtos/guias/massive-redirect-integration/)
- [Como instalar a integração Method and Route Validator através do Marketplace da Azion](/pt-br/documentacao/produtos/guias/method-and-route-validator/)
- [Como utilizar a integração Process Request Data Into Headers através do Marketplace da Azion](/pt-br/documentacao/produtos/guias/process-request-data-into-headers/)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
---
title: "Como instalar a integração Liveness Detection do Azion Marketplace"
description: >-
O Liveness Detection é uma integração de autenticação biométrica desenvolvida pela Saffe que roda na arquitetura distribuída da Azion para prevenir ataques de spoofing com fotografias ou vídeos em tempo real.
meta_tags: 'liveness detection, autenticação biométrica, reconhecimento facial, anti-spoofing, saffe, marketplace, functions, edge computing'
namespace: docs_guides_liveness_detection
permalink: /documentacao/produtos/guias/liveness-detection/
---

O **Liveness Detection** é uma integração *serverless* disponível no **Marketplace da Azion**, desenvolvida pela [Saffe](https://saffe.ai/). Ela fornece um sistema de autenticação biométrica com reconhecimento facial projetado para prevenir tentativas de spoofing usando fotografias ou vídeos.

Quando instalada, a integração implanta uma nova **Application** na Azion Web Platform junto com um domínio Azion, entregando um endpoint de liveness detection pronto para uso. A **Function** é executada na arquitetura distribuída da Azion, processando dados de imagem na rede para oferecer verificação de identidade em tempo real com baixa latência, sem rotear requisições para uma origem centralizada.

:::note
O Liveness Detection requer uma conta ativa na Saffe. Acesse [saffe.ai](https://saffe.ai/) para saber mais sobre planos e credenciais.
:::

---

## Obtenha a integração

Para instalar o **Liveness Detection** pelo Azion Marketplace:

1. Acesse o [Azion Console](/pt-br/documentacao/produtos/guias/como-acessar-o-azion-console/) > **Marketplace**.
2. Na homepage do Marketplace, digite `Liveness Detection` na barra de busca ou navegue pelos cards de integração.
3. Selecione o card **Liveness Detection**.
4. Quando a página da integração abrir, clique no botão **Install** no canto inferior direito da página.

Uma mensagem de sucesso confirma que a integração foi instalada. O processo de instalação cria automaticamente uma nova **Application** e um domínio Azion para você.

:::tip
Você pode procurar qualquer integração navegando pelos cards, usando os filtros ou digitando uma palavra-chave na barra de busca.
:::

---

## Revise a função implantada

Após a instalação, uma **Function** chamada **Face Detection** é adicionada à sua conta. Para revisar sua configuração:

1. No **Products menu**, acesse **Build** > **Functions**.
2. Na lista de funções, selecione **Face Detection**.
3. Na página da função, revise as abas disponíveis:
- **Code**: um editor somente leitura que exibe o código-fonte da função.
- **Arguments**: um editor JSON onde você pode configurar e armazenar os parâmetros usados pela função em tempo de execução.

---

## Revise a application implantada

A instalação também cria uma nova **Application** pré-configurada com a função Liveness Detection. Para revisá-la:

1. No **Products menu**, acesse **Build** > **Applications**.
2. Selecione a application criada pela integração Liveness Detection.
3. Navegue até a aba **Functions** para visualizar a função instanciada e sua configuração.

---

## Acesse o endpoint do Liveness Detection

A integração gera automaticamente um novo domínio Azion. Para acessá-lo:

1. No **Products menu**, selecione **Domains**.
2. Localize o domínio associado à application do Liveness Detection.
3. Copie o endereço do domínio.
4. Abra o domínio em uma nova aba do navegador.

Você agora tem um sistema de autenticação biométrica com reconhecimento facial totalmente funcional rodando na arquitetura distribuída da Azion.

---

## Como funciona

Para cada requisição recebida, a função Liveness Detection:

1. Captura os frames de imagem enviados pelo cliente.
2. Envia os dados para a API da Saffe para análise de liveness em tempo real.
3. Retorna uma resposta indicando se o sujeito é uma pessoa real ou uma tentativa de spoofing (fotografia, vídeo ou máscara).

A função é executada diretamente na infraestrutura distribuída da Azion, reduzindo a latência de ida e volta e mantendo o processamento de dados biométricos sensíveis o mais próximo possível do usuário.

---

## Configure os Arguments

Você pode personalizar o comportamento da função editando a aba **Arguments** na função **Face Detection**. Os argumentos são armazenados como uma estrutura JSON e passados para a função em tempo de execução.

Para atualizar os argumentos:

1. No **Products menu**, acesse **Build** > **Functions**.
2. Selecione a função **Face Detection**.
3. Clique na aba **Arguments**.
4. Edite a estrutura JSON com suas credenciais da Saffe e os parâmetros de configuração.
5. Clique no botão **Save**.

Consulte a [documentação da Saffe](https://saffe.ai/) para a lista completa de parâmetros suportados e credenciais de autenticação necessárias para conectar à API da Saffe.

---

## Monitore a integração

Use as ferramentas de observabilidade da Azion para monitorar a integração Liveness Detection:

- **[Real-Time Events](/pt-br/documentacao/produtos/observe/real-time-events/)**: Acesse a aba **Functions** para inspecionar logs de requisições individuais e respostas da função.
- **[Data Stream](/pt-br/documentacao/produtos/observe/data-stream/)**: Crie um stream usando o template **Functions Event Collector** para encaminhar logs ao endpoint de sua preferência para análise de longo prazo.

---
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ As integrações baseadas nas funções do Applications abrangem os seguintes ce
| [Send Event to Endpoint](/pt-br/documentacao/produtos/guias/send-event-to-endpoint/) | Esta solução permite transmitir dados de uma solicitação para um endpoint HTTP, recolhendo os dados de requisição e os transmitindo para um endpoint definido pelo usuário por meio de uma API Javascript. |
| [reCaptcha](/pt-br/documentacao/produtos/guias/recaptcha/) | Proteja seus domínios contra bots, monitorando o tráfego em seu site através do Google Dashboard para reCAPTCHA. |
| [hCaptcha](/pt-br/documentacao/produtos/guias/hcaptcha/) | Proteja seus domínios contra bots, monitorando o tráfego em seu site usando o painel do hCaptcha. |
| [Liveness Detection](/pt-br/documentacao/produtos/guias/liveness-detection/) | Autenticação biométrica com reconhecimento facial para prevenir tentativas de spoofing com fotografias ou vídeos, desenvolvida pela Saffe. |
| [JWT](/pt-br/documentacao/produtos/guias/jwt/) | Conceda e revogue privilégios usando KIDs e secrets e defina datas de validade. |
| [Secure Token](/pt-br/documentacao/produtos/guias/secure-token/) | Crie URLs baseadas em tokens com tempo limitado. |
| [Scheduled Blocking](/pt-br/documentacao/produtos/guias/scheduled-blocking/) | Controle o acesso à sua aplicação com base em um cronograma, de acordo com suas necessidades. |
Expand Down