Skip to main content
Contributor
June 4, 2020

Technical Note: [FortiSOAR / Cybersponse Tricks'n'Tips] Authenticating in an anonymously authenticated API trigger playbook

  • June 4, 2020
  • 0 replies
  • 880 views
Description

Though you can trigger a playbook anonymously using the option in an API trigger, the playbook will not be able to do anything without proper permissions. For anonymously authenticated playbooks, you need to have it use an appliance user with proper permissions.


Steps to do this:

1. Create a new appliance user with proper permissions. Copy the private and public keys

2. Immediately after the anonymous auth API trigger, add a "Set API Keys" step

3. Paste in the public and private keys there


The playbook will now authenticate and be able to perform the actions needed.


Common errors leading to this:

- Unauthorized for url: https://127.0.0.1/api/3/...

- A Token was not found in the TokenStorage.