FortiWeb Response Integration via API

Purpose

This guide explains how to configure the FortiWeb Response integration in Logsign USO, so that an analyst (or an action rule) can review and release IPs or users that FortiWeb has blocked, directly from a Logsign Incident. This is a release/recovery-oriented Response integration, configured under Settings > Integrations > Responses > +Device: its methods list and release FortiWeb's own blocklists, they do not create new blocks. FortiWeb performs the actual blocking itself based on its WAF policies; Logsign's role here is to give an analyst visibility into, and a way to release, what FortiWeb has already blocked.

Prerequisites

  • A FortiWeb appliance with its REST API reachable from the Logsign server.
  • A FortiWeb administrator account with API access, scoped to the relevant VDOM (virtual domain) if your deployment uses VDOMs.
  • Use least privilege. Create a dedicated FortiWeb account for this integration if your deployment supports restricted admin profiles, scoped to read/write on the blocked-IP and blocked-user lists rather than a full super-admin profile.

Step 1: Prepare FortiWeb for API Access

  1. Log in to the FortiWeb management console with an administrator account.
  2. Create (or designate) a dedicated administrator account for Logsign to use.
  3. Note the FortiWeb hostname/IP, the VDOM name (if applicable), and the username/password for the account.

Step 2: Configure the Integration in Logsign USO

In Logsign USO, go to Settings > Integrations > Responses, search for FortiWeb, click Configure then +Device, and fill in:

FieldRequiredDescription
Device NameYesFree-text label identifying this FortiWeb device in Logsign.
HostYesHostname or IP address of your FortiWeb.
UsernameYesThe FortiWeb account username from Step 1.
PasswordYesPassword for that account. Stored encrypted at rest.
VdomYesThe virtual domain this account and these blocklists belong to.
Insecure Skip VerifyYesDisables TLS certificate validation on Logsign's outbound calls to FortiWeb when enabled. Leave off unless you have a specific reason to keep it on.

Click Create to save the device.

Available Methods

  • get_blocked_ips (Analysis) — lists IPs currently blocked by FortiWeb.
  • release_blocked_ips (Recovery) — releases a specific blocked IP.
  • release_blocked_ips_all (Recovery) — releases all currently blocked IPs.
  • get_blocked_users (Analysis) — lists users currently blocked by FortiWeb.
  • release_blocked_users (Recovery) — releases a specific blocked user.
  • release_blocked_users_all (Recovery) — releases all currently blocked users.

Troubleshooting

SymptomLikely causeWhat to check
401 UnauthorizedWrong Username/Password.Re-enter the Username and Password fields and confirm the account can log in to FortiWeb directly.
403 ForbiddenThe account's admin profile does not permit reading/releasing block lists, or the Vdom is wrong.Confirm the account's assigned profile covers the relevant block-list features, and that Vdom matches the domain where the blocks actually occurred.
get_blocked_ips/get_blocked_users returns an empty list unexpectedlyBlocks exist in a different VDOM than the one configured, or nothing is currently blocked.Confirm the Vdom field matches the VDOM where FortiWeb's WAF policies are actually blocking traffic.

Notes and Limits

  • This integration only releases existing FortiWeb blocks; it has no method to create a new block. Blocking behavior itself is governed entirely by FortiWeb's own WAF policies (IP reputation, rate limiting, bot detection, etc.), configured on FortiWeb directly.
  • The exact FortiWeb console navigation path for creating a restricted admin account was not independently verified against a live appliance during this research (not independently verified); the field names and method behavior above are taken directly from Logsign's integration code.
Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more
Become a Certified Logsign User/Administrator
Sign-up for Logsign Academy and take the courses to learn about Logsign USO Platform in detail. Enjoy the courses, and get your badges and certificates. In these courses, you'll learn how to use Logsign in your work and add value to your career.
Visit Our Blog
Our Logsign USO Platform illustrate our expertise. So do the blog. Through our blog posts, deepen your knowledge on various SecOps topics or get updated about important news & modern approaches for cybersecurity. Get into the habit of reading valuable information provided by Logsign. Be a step ahead.