Add support for smoke data over the CTI API
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3507377. -->
Reported by: [jurgenhaas](https://www.drupal.org/user/168924)
Related to !8
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>CrowdSec provides a CTI API which exposes smoke data for an IP address, see <a href="https://crowdsecurity.github.io/cti-api/#/Freemium/get_smoke__ip_">https://crowdsecurity.github.io/cti-api/#/Freemium/get_smoke__ip_</a></p>
<p>This should be implemented and a service made available for other modules to receive that information, e.g. the IP Info module, see <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ip_info/issues/3507242" title="Status: Closed (fixed)">#3507242: Display information from CrowdSec</a></span></p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<ul>
<li>Add a setting to input the optional API key</li>
<li>Implement a service that pulls smoke data for an IP address</li>
</ul>
> Related issue: [Issue #3507242](https://www.drupal.org/node/3507242)
issue