LogoLogo
DocsSupportDashboard
  • Introduction
    • Data Types
    • Target Filtering
    • Scan Selection
    • Pagination & Sorting
    • Permissions
    • Appendix
  • Authentication
  • Webhooks
  • Events
  • Appendix
    • Targets Filter
    • Date Match
    • IP Range
  • Endpoints
    • Discovery
    • Target
    • Scan
    • Issue
    • Tag
    • Port
    • DNS
    • HTTP
    • Whois
    • Technology
    • Website
    • Acknowledged
    • Event
    • Dark Web
    • Integration
    • PCI
    • Report
    • User
    • Account
    • Security
    • File
    • Work
Powered by GitBook

© 2024 Halo Security

On this page
  • Get a list of events.
  • Get the details of an event.
  • Delete an event.
  • Get a list of event types.

Was this helpful?

  1. Endpoints

Event

The Event endpoint allows you to get a list of all events or event types, details about specific events, and delete events.

PreviousAcknowledgedNextDark Web

Last updated 12 months ago

Was this helpful?

Get a list of events.

GET https://api.halosecurity.com/api/v1/event/list.json

Returns a paginated list of events.

Query Parameters

Name
Type
Description

sort

Integer

0

= name (default)

sort_desc

Integer

0 = No (default)

1 = Yes

key

String

Filter by key

subject

String

Filter by subject

detail

String

Filter by detail

target_id

Integer

Filter by target id

{
    "list": [
        {
            "event": {
                "event_id": "id1",
                "subject": "Scan Started",
                "date_created": "0000-00-00 00:00",
                "key": "target-scan-start",
                "url": "https://www.halosecurity.com/link?q=user-event&id=id1",
                "target": {
                    "target_name": "",
                    "target_id": 1,
                    "target": "www.example.com"
                }
            }
        }
    ]
}

Get the details of an event.

GET https://api.halosecurity.com/api/v1/event/get.json

Returns the details of an event.

Query Parameters

Name
Type
Description

event_id*

String

{
    "success": 1,
    "event": {
        "event_id": "id1",
        "subject": "Scan Started",
        "date_created": "0000-00-00 00:00",
        "key": "target-scan-start",
        "url": "https://www.halosecurity.com/link?q=user-event&id=id1",
        "target": {
            "target_name": "",
            "target_id": 1,
            "target": "www.example.com"
        }
    }
}
{
    "code": 0,
    "message": "event_id required"
}
{
    "code": 404,
    "message": "event not found"
}

Delete an event.

GET https://api.halosecurity.com/api/v1/event/delete.json

Returns the event deletion status.

Query Parameters

Name
Type
Description

event_id*

String

{
    "success": 1
}
{
    "code": 0,
    "message": "event_id required"
}
{
    "code": 404,
    "message": "event not found"
}

Get a list of event types.

GET https://api.halosecurity.com/api/v1/event/types.json

Returns a paginated list of event types.

{
    "list": [
        {
            "subject": "API Key Added",
            "key": "account-apikey-add"
        }
    ]
}

https://www.halosecurity.com/user/security/events/list
https://www.halosecurity.com/user/security/events/list
https://www.halosecurity.com/user/security/events/list
https://www.halosecurity.com/user/security/events/alert-rules