FormatACTIURL

Helps to fetch ACTI Intelligence Report/Alert URL and converts it to uuid.

python · Accenture CTI v2

Details

IDFormatACTIURL
Languagepython
From Version5.5.0
Docker Imagedemisto/python3:3.12.13.10116658
Tagsindicator-format

README

This Script helps to convert Accenture CTI Intelligence Alert / Report URL to uuid.

from FormatACTIURL import url_to_uuid


def test_url_to_uuid_func():
    expected_output = "a487dfdc-08b4-49a09-82ea-2d934c27d901"
    intelligence_alert_link = (
        "https://intelgraph.idefense.com/#/node/intelligence_alert/view/a487dfdc-08b4-49a09-82ea-2d934c27d901"
    )
    intelligence_report_link = (
        "https://intelgraph.idefense.com/#/node/intelligence_report/view/a487dfdc-08b4-49a09-82ea-2d934c27d901"
    )

    assert url_to_uuid(intelligence_alert_link) == expected_output
    assert url_to_uuid(intelligence_report_link) == expected_output