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
  • Display your current risk score.
  • Display trends of your risk score, target, port, and issue counts over time.
  • Display a list of platforms that were detected.

Was this helpful?

  1. Endpoints

Security

The Security endpoint provides methods for viewing various security related metrics over time, such as your risk score.

Display your current risk score.

GET https://api.halosecurity.com/api/v1/security/risk-score.json

{
    "request": {
        "target_count": 1,
        "sort": "1"
    },
    "risk_score": 1000
}

Display trends of your risk score, target, port, and issue counts over time.

GET https://api.halosecurity.com/api/v1/security/trend.json

api

{
    "request": {
        "target_count": 1,
        "sort": "1"
    },
    "days": [
        {
            "date": "2022-01-22",
            "target_count": 0,
            "issue_count": 0,
            "risk_score": 0,
            "port_count": 0
        },
        {
            "date": "2022-01-23",
            "target_count": 0,
            "issue_count": 0,
            "risk_score": 0,
            "port_count": 0
        },
        {
            "date": "2022-01-24",
            "target_count": 0,
            "issue_count": 0,
            "risk_score": 0,
            "port_count": 0
        },
        {
            "date": "2022-04-22",
            "target_count": 1,
            "issue_count": 3,
            "risk_score": 1000,
            "port_count": 4
        }
}

Display a list of platforms that were detected.

GET https://api.halosecurity.com/api/v1/security/platform-list.json

{
    "request": {
        "target_count": 1,
        "sort": "1"
    },
    "pagination": {
        "total": 1,
        "start": 0,
        "limit": 100
    },
    "list": [
        {
            "target_count": 1,
            "platform_id": 29,
            "platform_display": "AWS CloudFront"
        }
    ]
}
PreviousAccountNextFile

Last updated 7 months ago

Was this helpful?