diff --git a/_shared_content/automate/library/ipinfo.md b/_shared_content/automate/library/ipinfo.md new file mode 100644 index 0000000000..7be685dc71 --- /dev/null +++ b/_shared_content/automate/library/ipinfo.md @@ -0,0 +1,38 @@ +# IPInfo + +![IPInfo](/assets/playbooks/library/ipinfo.png){ align=right width=150 } + +[IPINFO.IO](https://ipinfo.io//) is a database that gives access to daily updates for IP to country and IP to ASN + +## Configuration + +| Name | Type | Description | +| --------- | ------- | --------------------------- | +| `api_token` | `string` | ipinfo.io token | + +## Triggers + +### Fetch ipinfo.io database + +Upload the ipinfo.io database regularly in json format + +**Arguments** + +| Name | Type | Description | +| --------- | ------- | --------------------------- | +| `interval` | `integer` | Interval in hours to wait between each trigger call. Defaults to 24. | +| `chunk_size` | `integer` | Number of items to include in each chunk. Defaults to 10 000. | + + +**Outputs** + +| Name | Type | Description | +| --------- | ------- | --------------------------- | +| `file_path` | `string` | File path of the generated observables | +| `chunk_offset` | `integer` | Offset of the chunk in the full database | +| `chunk_size` | `integer` | Size of the chunk | + + +## Extra + +Module **`IPInfo` v1.0** \ No newline at end of file diff --git a/docs/assets/playbooks/library/ipinfo.png b/docs/assets/playbooks/library/ipinfo.png new file mode 100644 index 0000000000..67c2791039 Binary files /dev/null and b/docs/assets/playbooks/library/ipinfo.png differ diff --git a/mkdocs.yml b/mkdocs.yml index f98db60716..5a4bc1e052 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -293,6 +293,7 @@ nav: - HTTP: xdr/features/automate/library/http.md - HarfangLab: xdr/features/automate/library/harfanglab.md - IKnowWhatYouDownload: xdr/features/automate/library/iknowwhatyoudownload.md + - IPInfo: xdr/features/automate/library/ipinfo.md - IPtoASN: xdr/features/automate/library/iptoasn.md - Imperva: xdr/features/automate/library/imperva.md - Jumpcloud Directory Insights: xdr/features/automate/library/jumpcloud-directory-insights.md @@ -482,6 +483,7 @@ nav: - HTTP: tip/features/automate/library/http.md - HarfangLab: tip/features/automate/library/harfanglab.md - IKnowWhatYouDownload: tip/features/automate/library/iknowwhatyoudownload.md + - IPInfo: tip/features/automate/library/ipinfo.md - IPtoASN: tip/features/automate/library/iptoasn.md - Imperva: tip/features/automate/library/imperva.md - Jumpcloud Directory Insights: tip/features/automate/library/jumpcloud-directory-insights.md