splunk-soar-connectors / .github

Stores default community health files for the organization
Apache License 2.0
1 stars 7 forks source link

Haveibeenpwned - fails due to User Agent #15

Closed splunk-soar-connectors-bot closed 2 years ago

splunk-soar-connectors-bot commented 2 years ago

Name of the app Have I Been Pwned

Describe the bug This app does not work, it fails with an error - no user agent has been specified in the request.

App 'Have I Been Pwned' started successfully (id: 1631851930457) on asset: 'haveibeenpwned'(id: 26) Loaded action execution configuration Connecting to the Have I Been Pwned server Test Connectivity Failed. Error: Forbidden - no user agent has been specified in the request 1 action failed

To Reproduce Steps to reproduce the behavior:

  1. Configure the app (requires valid API key)
  2. Click Test Connectivity
  3. Get error: App 'Have I Been Pwned' started successfully (id: 1631851930457) on asset: 'haveibeenpwned'(id: 26) Loaded action execution configuration Connecting to the Have I Been Pwned server Test Connectivity Failed. Error: Forbidden - no user agent has been specified in the request 1 action failed

Expected behavior The app needs to supply a User Agent, as described here: https://haveibeenpwned.com/API/v3#UserAgent

Screenshots Not required

Phantom Version (please complete the following information):

Additional context Add any other context about the problem here.

pzhou-splunk commented 2 years ago

original issue - https://github.com/phantomcyber/phantom-apps/issues/714