Project Threat Scan

Step 1. Auth Token Registration Description: The first step is to register with your auth token to generate an UUID.

{
    "action": "message",
    "payload": {
        "type": "auth_token_register",
        "body": {
            "auth_token": "{Your_Auth_Token}"
        }
    }
}

Step 2. Now send the scan message a sample message Request & Response is shared below:

{
    "action": "message",
    "payload": {
        "type": "private_project_threat_scan_initiate",
        "body": {
            "provider": "github",
            "project_url": "https://github.com/Shashank-In/SmartContract",
            "project_name": "SolidityScan",
            "project_type": "new",
            "project_branch": "main",
            "recur_scans": false,
            "project_visibility": "public",
            "skip_file_paths": []
        }
    }
}

Last updated