SCAIFE DataHub Module API Definition
This API definition facilitates auditing static analysis alerts using classifiers, optional adaptive heuristics, and alert prioritization. The API enables jump-starting labeled datasets using test suites. It is intended to enable a wide range of users (with widely varying datasets, static analysis tools, machine learning expertise, and amount of labeled data) to benefit from using classifiers and sophisticated prioritization to automatically triage static analysis alerts.
Version: 1.0.0
BasePath:
SCAIFE API Copyright 2007-2020 Carnegie Mellon University. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Products derived from this software may not include 'Carnegie Mellon University,' 'SEI' and/or 'Software Engineering Institute' in the name of such derived product, nor shall 'Carnegie Mellon University,' 'SEI' and/or 'Software Engineering Institute' be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact permission@sei.cmu.edu. ACKNOWLEDGMENTS AND DISCLAIMERS: This material is based upon work funded and supported by the Department of Defense under Contract No. FA8702-15-D-0002 with Carnegie Mellon University for the operation of the Software Engineering Institute, a federally funded research and development center. The view, opinions, and/or findings contained in this material are those of the author(s) and should not be construed as an official Government position, policy, or decision, unless designated by other documentation. NO WARRANTY. THIS CARNEGIE MELLON UNIVERSITY AND SOFTWARE ENGINEERING INSTITUTE MATERIAL IS FURNISHED ON AN 'AS-IS' BASIS. CARNEGIE MELLON UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, EITHER EXPRESSED OR IMPLIED, AS TO ANY MATTER INCLUDING, BUT NOT LIMITED TO, WARRANTY OF FITNESS FOR PURPOSE OR MERCHANTABILITY, EXCLUSIVITY, OR RESULTS OBTAINED FROM USE OF THE MATERIAL. CARNEGIE MELLON UNIVERSITY DOES NOT MAKE ANY WARRANTY OF ANY KIND WITH RESPECT TO FREEDOM FROM PATENT, TRADEMARK, OR COPYRIGHT INFRINGEMENT. [DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution. Please see Copyright notice for non-US Government use and distribution. This material includes field names used in the Software Assurance Marketplace (SWAMP), a service that provides continuous software assurance capabilities to developers and researchers at https://www.mir-swamp.org/#. Copyright © 2012-2020 The Morgridge Institute for Research, Inc. All rights reserved. This material includes field names used in the Software Assurance Tool (SwAT), a tool that is used by analysts to analyze static analysis alerts from multiple static analysis tools. https://www.cerdec.army.mil/ Combat Capabilities Development Command (CCDC) C5ISR Center. All rights reserved. DM19-0572
http://apache.org/licenses/LICENSE-2.0.html
Access
[ Jump to Models ]
Table of Contents
Up
get /projects/{project_id}/alerts
Retrieve only the alerts and meta-alerts for a specific project. (getAlertsForProject)
Path parameters
project_id (required)
Path Parameter — The ID of the project
Consumes
This API call consumes the following media types via the request header:
Request headers
Return type
Example data
Content-Type: application/json
{
"alerts" : [ {
"code_language_id" : "code_language_id",
"alert_id" : "alert_id",
"primary_message" : {
"message_text" : "message_text",
"filepath" : "filepath",
"line_start" : 0,
"line_end" : 6
},
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"secondary_messages" : [ {
"message_text" : "message_text",
"filepath" : "filepath",
"line_start" : 0,
"line_end" : 6
}, {
"message_text" : "message_text",
"filepath" : "filepath",
"line_start" : 0,
"line_end" : 6
} ]
}, {
"code_language_id" : "code_language_id",
"alert_id" : "alert_id",
"primary_message" : {
"message_text" : "message_text",
"filepath" : "filepath",
"line_start" : 0,
"line_end" : 6
},
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"secondary_messages" : [ {
"message_text" : "message_text",
"filepath" : "filepath",
"line_start" : 0,
"line_end" : 6
}, {
"message_text" : "message_text",
"filepath" : "filepath",
"line_start" : 0,
"line_end" : 6
} ]
} ],
"meta_alerts" : [ {
"filepath" : "filepath",
"line_number" : 0,
"determination" : {
"flag_list" : [ {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"inapplicable_environment_list" : [ {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"ignored_list" : [ {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"verdict_list" : [ {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dead_list" : [ {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dangerous_construct_list" : [ {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"notes_list" : [ {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ]
},
"meta_alert_id" : "meta_alert_id",
"checker_id" : "checker_id",
"condition_id" : "condition_id",
"ct_pm_verdict" : {
"key" : "ct_pm_verdict"
},
"alert_ids" : [ "alert_ids", "alert_ids" ],
"auto_verdict" : {
"key" : "auto_verdict"
}
}, {
"filepath" : "filepath",
"line_number" : 0,
"determination" : {
"flag_list" : [ {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"inapplicable_environment_list" : [ {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"ignored_list" : [ {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"verdict_list" : [ {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dead_list" : [ {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dangerous_construct_list" : [ {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"notes_list" : [ {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ]
},
"meta_alert_id" : "meta_alert_id",
"checker_id" : "checker_id",
"condition_id" : "condition_id",
"ct_pm_verdict" : {
"key" : "ct_pm_verdict"
},
"alert_ids" : [ "alert_ids", "alert_ids" ],
"auto_verdict" : {
"key" : "auto_verdict"
}
} ],
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Return the Alerts and Meta-Alerts Associated with the Project
get_alerts_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Alerts and Meta-Alerts Unavailable
default
Unexpected Error
error
Up
get /packages/{package_id}
Retrieve an existing package in the DataHub Module. (getPackage)
Path parameters
package_id (required)
Path Parameter — ID of the package to retrieve
Consumes
This API call consumes the following media types via the request header:
Request headers
Return type
Example data
Content-Type: application/json
{
"package" : {
"uploader_id" : "uploader_id",
"source_files" : [ {
"filepath_depth" : "filepath_depth",
"source_file_id" : "source_file_id",
"filename" : "filename",
"filepath" : "filepath",
"functions" : [ {
"source_function_id" : "source_function_id",
"code_metrics_data" : [ null, null ],
"name" : "name",
"line_start" : 0,
"line_end" : 6
}, {
"source_function_id" : "source_function_id",
"code_metrics_data" : [ null, null ],
"name" : "name",
"line_start" : 0,
"line_end" : 6
} ],
"code_metrics_data" : [ { }, { } ],
"defect_info" : "{}"
}, {
"filepath_depth" : "filepath_depth",
"source_file_id" : "source_file_id",
"filename" : "filename",
"filepath" : "filepath",
"functions" : [ {
"source_function_id" : "source_function_id",
"code_metrics_data" : [ null, null ],
"name" : "name",
"line_start" : 0,
"line_end" : 6
}, {
"source_function_id" : "source_function_id",
"code_metrics_data" : [ null, null ],
"name" : "name",
"line_start" : 0,
"line_end" : 6
} ],
"code_metrics_data" : [ { }, { } ],
"defect_info" : "{}"
} ],
"created_at" : "2000-01-23T04:56:07.000+00:00",
"package_id" : "package_id",
"package_description" : "package_description",
"alerts" : "",
"author_source" : "author_source",
"test_suite_id" : "test_suite_id",
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"tool_ids" : [ "tool_ids", "tool_ids" ],
"package_name" : "package_name",
"code_languages" : "",
"uploader_organization_id" : "uploader_organization_id"
},
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Return an Existing Package
get_package_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Package Unavailable
default
Unexpected Error
error
Provides Server Status (getStatus)
Request headers
Return type
Example data
Content-Type: application/json
{
"message" : "message",
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Server Is Running
request_token
400
Database Connection Lost
default
Unexpected Error
error
Up
get /taxonomies/{taxonomy_id}
Retrieve an existing taxonomy based on the name and version. (getTaxonomy)
Path parameters
taxonomy_id (required)
Path Parameter — ID of the taxonomy to retrieve
Consumes
This API call consumes the following media types via the request header:
Request headers
Return type
Example data
Content-Type: application/json
{
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"description" : "description",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ],
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Returns Data for a Specific Taxonomy
get_taxonomy_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Taxonomy Unavailable
default
Unexpected Error
error
Up
get /taxonomies/{taxonomy_id}/languages
Retrieve the languages associated with this taxonomy (getTaxonomyLanguages)
Path parameters
taxonomy_id (required)
Path Parameter — ID of the taxonomy to retrieve
Consumes
This API call consumes the following media types via the request header:
Request headers
Return type
Example data
Content-Type: application/json
{
"languages" : "",
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Returns Languages for a Specific Taxonomy
list_languages_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Taxonomy Unavailable
default
Unexpected Error
error
Retrieve a list of available Taxonomy ID, Name and Versions Available in the Module (getTaxonomyList)
Consumes
This API call consumes the following media types via the request header:
Request headers
Return type
Example data
Content-Type: application/json
{
"taxonomies" : [ {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
}, {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
} ],
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Returns a List of Taxonomy ID, Name and Versions
taxonomy_list_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Taxonomies Unavailable
default
Unexpected Error
error
'Retrieve a List of Test Suite ID, Name and Versions Available in the Module' (getTestSuiteList)
Consumes
This API call consumes the following media types via the request header:
Request headers
Return type
Example data
Content-Type: application/json
{
"test_suites" : [ {
"author_source" : "author_source",
"test_suite_version" : "test_suite_version",
"test_suite_id" : "test_suite_id",
"uploader_id" : "uploader_id",
"manifest_urls" : [ "http://example.com/aeiou", "http://example.com/aeiou" ],
"uploader_organization_id" : "uploader_organization_id",
"code_languages" : "",
"test_suite_name" : "test_suite_name"
}, {
"author_source" : "author_source",
"test_suite_version" : "test_suite_version",
"test_suite_id" : "test_suite_id",
"uploader_id" : "uploader_id",
"manifest_urls" : [ "http://example.com/aeiou", "http://example.com/aeiou" ],
"uploader_organization_id" : "uploader_organization_id",
"code_languages" : "",
"test_suite_name" : "test_suite_name"
} ],
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Returns a List of Test Suite ID, Name and Versions
test_suite_list_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Test Suites Unavailable
default
Unexpected Error
error
Retrieve an existing tool in the DataHub Module. (getToolData)
Path parameters
tool_id (required)
Path Parameter — Tool ID to retrieve data
Request headers
Return type
Example data
Content-Type: application/json
{
"request_id" : "request_id",
"tool" : {
"tool_name" : "tool_name",
"author_source" : "author_source",
"uploader_id" : "uploader_id",
"tool_version" : "tool_version",
"source_mappings" : [ {
"mapping_id" : "mapping_id",
"mapping_source" : "mapping_source",
"checker_mappings" : [ {
"checker_name" : "checker_name",
"checker_id" : "checker_id",
"conditions" : [ {
"taxonomy_id" : "taxonomy_id",
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"taxonomy_id" : "taxonomy_id",
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
}, {
"checker_name" : "checker_name",
"checker_id" : "checker_id",
"conditions" : [ {
"taxonomy_id" : "taxonomy_id",
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"taxonomy_id" : "taxonomy_id",
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
} ]
}, {
"mapping_id" : "mapping_id",
"mapping_source" : "mapping_source",
"checker_mappings" : [ {
"checker_name" : "checker_name",
"checker_id" : "checker_id",
"conditions" : [ {
"taxonomy_id" : "taxonomy_id",
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"taxonomy_id" : "taxonomy_id",
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
}, {
"checker_name" : "checker_name",
"checker_id" : "checker_id",
"conditions" : [ {
"taxonomy_id" : "taxonomy_id",
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"taxonomy_id" : "taxonomy_id",
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
} ]
} ],
"tool_id" : "tool_id",
"metrics_data_headers" : "{}",
"category" : "category",
"language_platforms" : [ "language_platforms", "language_platforms" ],
"uploader_organization_id" : "uploader_organization_id"
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Returns data for a particular tool
get_tool_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Tool Information Unavailable
default
Unexpected Error
error
Retrieve a List of Tool ID, Name, and Versions Available in the Module (getToolList)
Consumes
This API call consumes the following media types via the request header:
Request headers
Return type
Example data
Content-Type: application/json
{
"request_id" : "request_id",
"tools" : [ {
"tool_name" : "tool_name",
"author_source" : "author_source",
"uploader_id" : "uploader_id",
"tool_version" : "tool_version",
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"tool_id" : "tool_id",
"language_platforms" : [ "language_platforms", "language_platforms" ],
"uploader_organization_id" : "uploader_organization_id"
}, {
"tool_name" : "tool_name",
"author_source" : "author_source",
"uploader_id" : "uploader_id",
"tool_version" : "tool_version",
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"tool_id" : "tool_id",
"language_platforms" : [ "language_platforms", "language_platforms" ],
"uploader_organization_id" : "uploader_organization_id"
} ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
'Returns a List of Tool ID, Name, and Versions Available in the
Module'
tool_list_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Tools Unavailable
default
Unexpected Error
error
Retrieve a list of all the available languages. (listLanguages)
Consumes
This API call consumes the following media types via the request header:
Request headers
Return type
Example data
Content-Type: application/json
{
"languages" : "",
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Return a List of Languages Available in the Module
list_languages_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
No Languages Available
default
Unexpected Error
error
Retrieve a list of all available packages. (listPackages)
Consumes
This API call consumes the following media types via the request header:
Request headers
Return type
Example data
Content-Type: application/json
{
"packages" : "",
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Return a List of Available Packages
list_packages_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
No Packages Available
default
Unexpected Error
error
Retrieve a list of all available projects. (listProjects)
Consumes
This API call consumes the following media types via the request header:
Request headers
Return type
Example data
Content-Type: application/json
{
"projects" : "",
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Return a List of Available Projects
list_projects_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
No Projects Available
default
Unexpected Error
error
Up
post /projects/adaptive_heuristics/close
Send a list of project_ids to stop forwarding the project's alerts to the Stats Module. (closeAdaptiveHeuristics)
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — 'Multiple project_ids to close adaptive heuristic alert forwarding request'
Request headers
Return type
Example data
Content-Type: application/json
{
"project_status" : [ {
"status_message" : "status_message",
"project_id" : "project_id",
"project_updated" : true
}, {
"status_message" : "status_message",
"project_id" : "project_id",
"project_updated" : true
} ],
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Adaptive Heuristic Forwarding Successfully Closed
adaptive_heuristic_close_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
default
Unexpected Error
error
Up
post /projects/classifiers/retrieve
Retrieve projects from the DataHub for Classification at the Stats Module (getProjectsForClassifier)
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — 'Tool and taxonomy information the requesting module already has, along with projects it is requesting.'
Request headers
Return type
Example data
Content-Type: application/json
{
"projects" : [ {
"author_source" : "author_source",
"uploader_id" : "uploader_id",
"project_description" : "project_description",
"package" : {
"alerts" : "",
"test_suite_id" : "test_suite_id",
"uploader_id" : "uploader_id",
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"source_files" : [ {
"filepath_depth" : "filepath_depth",
"source_file_id" : "source_file_id",
"filename" : "filename",
"filepath" : "filepath",
"functions" : [ {
"source_function_id" : "source_function_id",
"code_metrics_data" : [ null, null ],
"name" : "name",
"line_start" : 0,
"line_end" : 6
}, {
"source_function_id" : "source_function_id",
"code_metrics_data" : [ null, null ],
"name" : "name",
"line_start" : 0,
"line_end" : 6
} ],
"code_metrics_data" : [ { }, { } ],
"defect_info" : "{}"
}, {
"filepath_depth" : "filepath_depth",
"source_file_id" : "source_file_id",
"filename" : "filename",
"filepath" : "filepath",
"functions" : [ {
"source_function_id" : "source_function_id",
"code_metrics_data" : [ null, null ],
"name" : "name",
"line_start" : 0,
"line_end" : 6
}, {
"source_function_id" : "source_function_id",
"code_metrics_data" : [ null, null ],
"name" : "name",
"line_start" : 0,
"line_end" : 6
} ],
"code_metrics_data" : [ { }, { } ],
"defect_info" : "{}"
} ],
"package_name" : "package_name",
"created_at" : "2000-01-23T04:56:07.000+00:00",
"package_id" : "package_id",
"code_languages" : "",
"tools" : [ {
"tool_name" : "tool_name",
"author_source" : "author_source",
"uploader_id" : "uploader_id",
"tool_version" : "tool_version",
"source_mappings" : [ {
"mapping_id" : "mapping_id",
"mapping_source" : "mapping_source",
"checker_mappings" : [ {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
}, {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
} ]
}, {
"mapping_id" : "mapping_id",
"mapping_source" : "mapping_source",
"checker_mappings" : [ {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
}, {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
} ]
} ],
"tool_id" : "tool_id",
"metrics_data_headers" : "{}",
"category" : "category",
"uploader_organization_id" : "uploader_organization_id"
}, {
"tool_name" : "tool_name",
"author_source" : "author_source",
"uploader_id" : "uploader_id",
"tool_version" : "tool_version",
"source_mappings" : [ {
"mapping_id" : "mapping_id",
"mapping_source" : "mapping_source",
"checker_mappings" : [ {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
}, {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
} ]
}, {
"mapping_id" : "mapping_id",
"mapping_source" : "mapping_source",
"checker_mappings" : [ {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
}, {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
} ]
} ],
"tool_id" : "tool_id",
"metrics_data_headers" : "{}",
"category" : "category",
"uploader_organization_id" : "uploader_organization_id"
} ],
"uploader_organization_id" : "uploader_organization_id",
"package_description" : "package_description"
},
"meta_alerts" : [ {
"filepath" : "filepath",
"line_number" : 0,
"determination" : {
"flag_list" : [ {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"inapplicable_environment_list" : [ {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"ignored_list" : [ {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"verdict_list" : [ {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dead_list" : [ {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dangerous_construct_list" : [ {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"notes_list" : [ {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ]
},
"meta_alert_id" : "meta_alert_id",
"checker_id" : "checker_id",
"condition_id" : "condition_id",
"ct_pm_verdict" : {
"key" : "ct_pm_verdict"
},
"alert_ids" : [ "alert_ids", "alert_ids" ],
"auto_verdict" : {
"key" : "auto_verdict"
}
}, {
"filepath" : "filepath",
"line_number" : 0,
"determination" : {
"flag_list" : [ {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"inapplicable_environment_list" : [ {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"ignored_list" : [ {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"verdict_list" : [ {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dead_list" : [ {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dangerous_construct_list" : [ {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"notes_list" : [ {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ]
},
"meta_alert_id" : "meta_alert_id",
"checker_id" : "checker_id",
"condition_id" : "condition_id",
"ct_pm_verdict" : {
"key" : "ct_pm_verdict"
},
"alert_ids" : [ "alert_ids", "alert_ids" ],
"auto_verdict" : {
"key" : "auto_verdict"
}
} ],
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"project_id" : "project_id",
"taxonomies" : [ {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"description" : "description",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ],
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
}, {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"description" : "description",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ],
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
} ],
"created_at" : "2000-01-23T04:56:07.000+00:00",
"project_name" : "project_name",
"uploader_organization_id" : "uploader_organization_id"
}, {
"author_source" : "author_source",
"uploader_id" : "uploader_id",
"project_description" : "project_description",
"package" : {
"alerts" : "",
"test_suite_id" : "test_suite_id",
"uploader_id" : "uploader_id",
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"source_files" : [ {
"filepath_depth" : "filepath_depth",
"source_file_id" : "source_file_id",
"filename" : "filename",
"filepath" : "filepath",
"functions" : [ {
"source_function_id" : "source_function_id",
"code_metrics_data" : [ null, null ],
"name" : "name",
"line_start" : 0,
"line_end" : 6
}, {
"source_function_id" : "source_function_id",
"code_metrics_data" : [ null, null ],
"name" : "name",
"line_start" : 0,
"line_end" : 6
} ],
"code_metrics_data" : [ { }, { } ],
"defect_info" : "{}"
}, {
"filepath_depth" : "filepath_depth",
"source_file_id" : "source_file_id",
"filename" : "filename",
"filepath" : "filepath",
"functions" : [ {
"source_function_id" : "source_function_id",
"code_metrics_data" : [ null, null ],
"name" : "name",
"line_start" : 0,
"line_end" : 6
}, {
"source_function_id" : "source_function_id",
"code_metrics_data" : [ null, null ],
"name" : "name",
"line_start" : 0,
"line_end" : 6
} ],
"code_metrics_data" : [ { }, { } ],
"defect_info" : "{}"
} ],
"package_name" : "package_name",
"created_at" : "2000-01-23T04:56:07.000+00:00",
"package_id" : "package_id",
"code_languages" : "",
"tools" : [ {
"tool_name" : "tool_name",
"author_source" : "author_source",
"uploader_id" : "uploader_id",
"tool_version" : "tool_version",
"source_mappings" : [ {
"mapping_id" : "mapping_id",
"mapping_source" : "mapping_source",
"checker_mappings" : [ {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
}, {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
} ]
}, {
"mapping_id" : "mapping_id",
"mapping_source" : "mapping_source",
"checker_mappings" : [ {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
}, {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
} ]
} ],
"tool_id" : "tool_id",
"metrics_data_headers" : "{}",
"category" : "category",
"uploader_organization_id" : "uploader_organization_id"
}, {
"tool_name" : "tool_name",
"author_source" : "author_source",
"uploader_id" : "uploader_id",
"tool_version" : "tool_version",
"source_mappings" : [ {
"mapping_id" : "mapping_id",
"mapping_source" : "mapping_source",
"checker_mappings" : [ {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
}, {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
} ]
}, {
"mapping_id" : "mapping_id",
"mapping_source" : "mapping_source",
"checker_mappings" : [ {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
}, {
"checker_name" : "checker_name",
"tool_id" : "tool_id",
"checker_id" : "checker_id",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"taxonomy" : {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
},
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ]
} ]
} ],
"tool_id" : "tool_id",
"metrics_data_headers" : "{}",
"category" : "category",
"uploader_organization_id" : "uploader_organization_id"
} ],
"uploader_organization_id" : "uploader_organization_id",
"package_description" : "package_description"
},
"meta_alerts" : [ {
"filepath" : "filepath",
"line_number" : 0,
"determination" : {
"flag_list" : [ {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"inapplicable_environment_list" : [ {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"ignored_list" : [ {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"verdict_list" : [ {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dead_list" : [ {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dangerous_construct_list" : [ {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"notes_list" : [ {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ]
},
"meta_alert_id" : "meta_alert_id",
"checker_id" : "checker_id",
"condition_id" : "condition_id",
"ct_pm_verdict" : {
"key" : "ct_pm_verdict"
},
"alert_ids" : [ "alert_ids", "alert_ids" ],
"auto_verdict" : {
"key" : "auto_verdict"
}
}, {
"filepath" : "filepath",
"line_number" : 0,
"determination" : {
"flag_list" : [ {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"inapplicable_environment_list" : [ {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"ignored_list" : [ {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"verdict_list" : [ {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dead_list" : [ {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dangerous_construct_list" : [ {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"notes_list" : [ {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ]
},
"meta_alert_id" : "meta_alert_id",
"checker_id" : "checker_id",
"condition_id" : "condition_id",
"ct_pm_verdict" : {
"key" : "ct_pm_verdict"
},
"alert_ids" : [ "alert_ids", "alert_ids" ],
"auto_verdict" : {
"key" : "auto_verdict"
}
} ],
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"project_id" : "project_id",
"taxonomies" : [ {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"description" : "description",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ],
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
}, {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"description" : "description",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ],
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
} ],
"created_at" : "2000-01-23T04:56:07.000+00:00",
"project_name" : "project_name",
"uploader_organization_id" : "uploader_organization_id"
} ],
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Return Existing Projects
get_projects_classifier_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Projects Unavailable
default
Unexpected Error
error
Up
post /projects/{project_id}/classifiers/hold
Place a temporary hold on the data forwarding request from the DataHub (holdDataForClassifier)
Path parameters
project_id (required)
Path Parameter — The ID of the project
Consumes
This API call consumes the following media types via the request header:
Request headers
Return type
Example data
Content-Type: application/json
{
"message" : "message",
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK, Data Forwarding Temporarily Stopped
request_token
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Project Unavailable
default
Unexpected Error
error
Up
put /projects/{project_id}/classifiers/hold
Remove the temporary hold on the data forwarding request from the DataHub (releaseDataHoldForClassifier)
Path parameters
project_id (required)
Path Parameter — The ID of the project
Consumes
This API call consumes the following media types via the request header:
Request headers
Return type
Example data
Content-Type: application/json
{
"message" : "message",
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK, Data Forwarding Resumed
request_token
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Project Unavailable
default
Unexpected Error
error
Up
put /taxonomies/{taxonomy_id}/languages
Add languages to the taxonomy condition objects (addConditionLanguages)
Path parameters
taxonomy_id (required)
Path Parameter — ID of the taxonomy to retrieve
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Return type
Example data
Content-Type: application/json
{
"message" : "message",
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Condition Languages Successfully Updated
request_token
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Taxonomy, Conditions or Language Unavailable
default
Unexpected Error
error
Create a new language definition. (createLanguage)
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Language information
Request headers
Return type
Example data
Content-Type: application/json
{
"language" : {
"code_language_id" : "code_language_id",
"language" : "language",
"version" : "version"
},
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Language Successfully Uploaded
create_language_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
default
Unexpected Error
error
Create a new package. This request will return the package_id used to reference the package within the DataHub. Note, for metrics data uploads use PUT /tools/{tool_id}. (createPackage)
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Data to the create package
Request headers
Return type
Example data
Content-Type: application/json
{
"status_message" : [ "status_message", "status_message" ],
"package" : {
"package_name" : "package_name",
"alert_mappings" : [ {
"alert_id" : "alert_id",
"primary_message" : {
"message_text" : "message_text",
"filepath" : "filepath",
"line_start" : 0,
"line_end" : 6
},
"checker_id" : "checker_id"
}, {
"alert_id" : "alert_id",
"primary_message" : {
"message_text" : "message_text",
"filepath" : "filepath",
"line_start" : 0,
"line_end" : 6
},
"checker_id" : "checker_id"
} ],
"package_id" : "package_id"
},
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Package Successfully Created
create_package_response
400
Unable to Create Package
401
Invalid Token Request
403
Missing Required Tokens
422
Package Data Exists
create_package_response
default
Unexpected Error
error
Create a new project. The package and taxonomies should be uploaded to the DataHub prior to creating a project. This request will return the project_id to reference the project within the DataHub. (createProject)
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Data to a create project
Request headers
Return type
Example data
Content-Type: application/json
{
"status_message" : [ "status_message", "status_message" ],
"project" : {
"project_id" : "project_id",
"meta_alert_mappings" : [ {
"filepath" : "filepath",
"line_number" : 0,
"meta_alert_id" : "meta_alert_id",
"checker_id" : "checker_id",
"condition_id" : "condition_id"
}, {
"filepath" : "filepath",
"line_number" : 0,
"meta_alert_id" : "meta_alert_id",
"checker_id" : "checker_id",
"condition_id" : "condition_id"
} ],
"project_name" : "project_name"
},
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Project Successfully Created
create_project_response
400
Unable to Create Project
401
Invalid Token Request
403
Missing Required Tokens
422
Project Data Exists
create_project_response
default
Unexpected Error
error
Upload a new taxonomy to the DataHub Module. Returns the taxonomy_id and condition_ids to reference this Taxonomy and its Conditions. (createTaxonomy)
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Taxonomy information to upload
Request headers
Return type
Example data
Content-Type: application/json
{
"taxonomy" : {
"taxonomy_id" : "taxonomy_id",
"conditions" : [ {
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id"
}, {
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id"
} ]
},
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK, Taxonomy Successfully Created
create_taxonomy_response
400
Unable to Create Taxonomy
401
Invalid Token Request
403
Missing Required Tokens
422
Taxonomy Data Exists
create_taxonomy_response
default
Unexpected Error
error
Create a Test Suite in the DataHub Module. (createTestSuite)
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Test Suite information to upload
Request headers
Return type
Example data
Content-Type: application/json
{
"status_message" : "status_message",
"test_suite" : {
"author_source" : "author_source",
"test_suite_version" : "test_suite_version",
"test_suite_id" : "test_suite_id",
"uploader_id" : "uploader_id",
"manifest_urls" : [ "http://example.com/aeiou", "http://example.com/aeiou" ],
"uploader_organization_id" : "uploader_organization_id",
"code_languages" : "",
"test_suite_name" : "test_suite_name"
},
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK, Test Suite Successfully Uploaded
test_suite_upload_response
400
Unable to Upload Test Suite
401
Invalid Token Request
403
Missing Required Tokens
422
Test Suite Data Exists
test_suite_upload_response
default
Unexpected Error
error
Up
delete /packages/{package_id}
Delete an existing package. (deletePackage)
Path parameters
package_id (required)
Path Parameter — ID of the package to delete
Consumes
This API call consumes the following media types via the request header:
Request headers
Return type
Example data
Content-Type: application/json
{
"message" : "message",
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Package Successfully Deleted
request_token
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Unable to Delete Package
default
Unexpected Error
error
Up
delete /projects/{project_id}
Delete an existing project. (deleteProject)
Path parameters
project_id (required)
Path Parameter — The ID of the project to delete
Consumes
This API call consumes the following media types via the request header:
Request headers
Return type
Example data
Content-Type: application/json
{
"message" : "message",
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Project Successfully Deleted
request_token
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Project Unavailable
default
Unexpected Error
error
Up
put /packages/{package_id}
Update an existing package. Use this method to add new alerts for the package. Note, for metrics data uploads use POST /tools/{tool_id}/packages/{package_id}. (editPackage)
Path parameters
package_id (required)
Path Parameter — ID of the package to update
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Package data to modify the existing package with
Request headers
Return type
Example data
Content-Type: application/json
{
"status_message" : "status_message",
"alert_mappings" : [ {
"alert_id" : "alert_id",
"primary_message" : {
"message_text" : "message_text",
"filepath" : "filepath",
"line_start" : 0,
"line_end" : 6
},
"checker_id" : "checker_id"
}, {
"alert_id" : "alert_id",
"primary_message" : {
"message_text" : "message_text",
"filepath" : "filepath",
"line_start" : 0,
"line_end" : 6
},
"checker_id" : "checker_id"
} ],
"package_id" : "package_id",
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Package Successfully Updated
edit_package_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Unable to Update Package
default
Unexpected Error
error
Up
put /projects/{project_id}
Update an existing project. This method can also be used to send only meta-alert determinations of an existing meta-alert to the DataHub, which is most useful when a project has an open adaptive heuristic set. (editProject)
Path parameters
project_id (required)
Path Parameter — The ID of the project to update
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Project data to modify the existing project with
Request headers
Return type
Example data
Content-Type: application/json
{
"status_message" : "status_message",
"project_id" : "project_id",
"meta_alert_mappings" : [ {
"filepath" : "filepath",
"line_number" : 0,
"meta_alert_id" : "meta_alert_id",
"checker_id" : "checker_id",
"condition_id" : "condition_id"
}, {
"filepath" : "filepath",
"line_number" : 0,
"meta_alert_id" : "meta_alert_id",
"checker_id" : "checker_id",
"condition_id" : "condition_id"
} ],
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Package was Successfully Updated
edit_project_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Unable to Update Project
default
Unexpected Error
error
Up
put /taxonomies/{taxonomy_id}
Edit a taxonomy, including uploads of additional conditions (editTaxonomy)
Path parameters
taxonomy_id (required)
Path Parameter — ID of the taxonomy to retrieve
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Taxonomy information to upload
Request headers
Return type
Example data
Content-Type: application/json
{
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ],
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Returns Condition Information for a Specific Taxonomy
edit_taxonomy_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Taxonomy Unavailable
default
Unexpected Error
error
Update a tool with a Checker-Mapping CSV (editTool)
Path parameters
tool_id (required)
Path Parameter — Tool ID to update data
Consumes
This API call consumes the following media types via the request header:
application/json
multipart/form-data
Request headers
Form parameters
checker_mapping_csv (required)
Form Parameter — 'CSV with checker mappings, the filename should match the mapping_filename in tool_metadata'
Return type
Example data
Content-Type: application/json
{
"mapping_id" : "mapping_id",
"mapping_source" : "mapping_source",
"description" : "description",
"mapping_date" : "2000-01-23T04:56:07.000+00:00"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK, Tool Successfully Updated
tool_response_mapping
400
Unable to Upload Checker or Metrics Information
401
Invalid Token Request
403
Missing Required Tokens
404
Tool Information Unavailable
default
Unexpected Error
error
Up
post /projects/retrieve
Retrieve projects from the DataHub. Send taxonomy information the requestor already has, along with projects it is requesting. This way, a response from the DataHub can efficiently leave out taxonomies that the requestor already has information for. (getProjects)
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — 'Taxonomy information the requesting module already has, along with projects it is requesting.'
Request headers
Return type
Example data
Content-Type: application/json
{
"projects" : [ {
"author_source" : "author_source",
"uploader_id" : "uploader_id",
"project_description" : "project_description",
"meta_alerts" : [ {
"filepath" : "filepath",
"line_number" : 0,
"determination" : {
"flag_list" : [ {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"inapplicable_environment_list" : [ {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"ignored_list" : [ {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"verdict_list" : [ {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dead_list" : [ {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dangerous_construct_list" : [ {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"notes_list" : [ {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ]
},
"meta_alert_id" : "meta_alert_id",
"checker_id" : "checker_id",
"condition_id" : "condition_id",
"ct_pm_verdict" : {
"key" : "ct_pm_verdict"
},
"alert_ids" : [ "alert_ids", "alert_ids" ],
"auto_verdict" : {
"key" : "auto_verdict"
}
}, {
"filepath" : "filepath",
"line_number" : 0,
"determination" : {
"flag_list" : [ {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"inapplicable_environment_list" : [ {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"ignored_list" : [ {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"verdict_list" : [ {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dead_list" : [ {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dangerous_construct_list" : [ {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"notes_list" : [ {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ]
},
"meta_alert_id" : "meta_alert_id",
"checker_id" : "checker_id",
"condition_id" : "condition_id",
"ct_pm_verdict" : {
"key" : "ct_pm_verdict"
},
"alert_ids" : [ "alert_ids", "alert_ids" ],
"auto_verdict" : {
"key" : "auto_verdict"
}
} ],
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"project_id" : "project_id",
"taxonomies" : [ {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"description" : "description",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ],
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
}, {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"description" : "description",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ],
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
} ],
"created_at" : "2000-01-23T04:56:07.000+00:00",
"package_id" : "package_id",
"project_name" : "project_name",
"uploader_organization_id" : "uploader_organization_id"
}, {
"author_source" : "author_source",
"uploader_id" : "uploader_id",
"project_description" : "project_description",
"meta_alerts" : [ {
"filepath" : "filepath",
"line_number" : 0,
"determination" : {
"flag_list" : [ {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"inapplicable_environment_list" : [ {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"ignored_list" : [ {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"verdict_list" : [ {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dead_list" : [ {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dangerous_construct_list" : [ {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"notes_list" : [ {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ]
},
"meta_alert_id" : "meta_alert_id",
"checker_id" : "checker_id",
"condition_id" : "condition_id",
"ct_pm_verdict" : {
"key" : "ct_pm_verdict"
},
"alert_ids" : [ "alert_ids", "alert_ids" ],
"auto_verdict" : {
"key" : "auto_verdict"
}
}, {
"filepath" : "filepath",
"line_number" : 0,
"determination" : {
"flag_list" : [ {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"flag" : true,
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"inapplicable_environment_list" : [ {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"inapplicable_environment" : "inapplicable_environment",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"ignored_list" : [ {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"ignored" : "ignored",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"verdict_list" : [ {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"verdict" : "verdict",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dead_list" : [ {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dead" : "dead",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"dangerous_construct_list" : [ {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"dangerous_construct" : "dangerous_construct",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ],
"notes_list" : [ {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
}, {
"notes" : "notes",
"timestamp" : "2000-01-23T04:56:07.000+00:00"
} ]
},
"meta_alert_id" : "meta_alert_id",
"checker_id" : "checker_id",
"condition_id" : "condition_id",
"ct_pm_verdict" : {
"key" : "ct_pm_verdict"
},
"alert_ids" : [ "alert_ids", "alert_ids" ],
"auto_verdict" : {
"key" : "auto_verdict"
}
} ],
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"project_id" : "project_id",
"taxonomies" : [ {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"description" : "description",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ],
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
}, {
"author_source" : "author_source",
"taxonomy_id" : "taxonomy_id",
"uploader_id" : "uploader_id",
"taxonomy_version" : "taxonomy_version",
"description" : "description",
"conditions" : [ {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
}, {
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"condition_fields" : "{}",
"condition_name" : "condition_name",
"title" : "title",
"condition_id" : "condition_id",
"platforms" : [ "platforms", "platforms" ]
} ],
"taxonomy_name" : "taxonomy_name",
"uploader_organization_id" : "uploader_organization_id"
} ],
"created_at" : "2000-01-23T04:56:07.000+00:00",
"package_id" : "package_id",
"project_name" : "project_name",
"uploader_organization_id" : "uploader_organization_id"
} ],
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Return Existing Projects
get_projects_response
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Projects Unavailable
default
Unexpected Error
error
Up
post /packages/{package_id}
Upload a Source Code Archive and MetaData Files for the Package. (uploadCodebaseForPackage)
Path parameters
package_id (required)
Path Parameter — ID of the package to update
Consumes
This API call consumes the following media types via the request header:
application/json
multipart/form-data
Request headers
Form parameters
sourcecode_archive (required)
Form Parameter — Source Code Archive for this package
source_file_csv (optional)
Form Parameter — Source File CSV
source_function_csv (optional)
Form Parameter — Source Function CSV
Return type
Example data
Content-Type: application/json
{
"message" : "message",
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Code Source Successfully Uploaded
request_token
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
404
Unable to Upload Code Source Archive
default
Unexpected Error
error
Up
post /test_suites/{test_suite_id}/packages/{package_id}
Upload Test Suite MetaData Files (uploadTestSuite)
Path parameters
test_suite_id (required)
Path Parameter — Test Suite ID to upload data files
package_id (required)
Path Parameter — Package ID to upload data files
Consumes
This API call consumes the following media types via the request header:
multipart/form-data
application/json
Request headers
Form parameters
manifest_file (required)
Form Parameter —
use_license_file (optional)
Form Parameter —
source_file_csv (optional)
Form Parameter — Source File CSV
source_function_csv (optional)
Form Parameter — Source Function CSV
Return type
Example data
Content-Type: application/json
{
"message" : "message",
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Data Successfully Uploaded
request_token
400
Invalid Request
401
Invalid Token Request
403
Missing Required Tokens
default
Unexpected Error
error
Upload a new Tool to the DataHub Module. Returns a tool_id to reference the tool in the DataHub Module. For code metrics tools, upload a list of ordered field names. (uploadTool)
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Tool information to upload
Request headers
Return type
Example data
Content-Type: application/json
{
"status_message" : "status_message",
"request_id" : "request_id",
"tool" : {
"tool_name" : "tool_name",
"tool_version" : "tool_version",
"checkers" : [ {
"checker_name" : "checker_name",
"checker_id" : "checker_id"
}, {
"checker_name" : "checker_name",
"checker_id" : "checker_id"
} ],
"code_language_ids" : [ "code_language_ids", "code_language_ids" ],
"tool_id" : "tool_id",
"category" : "category",
"checker_mappings" : [ {
"mapping_id" : "mapping_id",
"mapping_source" : "mapping_source",
"description" : "description",
"mapping_date" : "2000-01-23T04:56:07.000+00:00"
}, {
"mapping_id" : "mapping_id",
"mapping_source" : "mapping_source",
"description" : "description",
"mapping_date" : "2000-01-23T04:56:07.000+00:00"
} ],
"language_platforms" : [ "language_platforms", "language_platforms" ]
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK, Tool Successfully Uploaded
tool_upload_response
400
Unable to Upload Tool Information
401
Invalid Token Request
403
Missing Required Tokens
422
Tool Exists, Return Tool ID
tool_upload_response
default
Unexpected Error
error
Up
post /tools/{tool_id}/packages/{package_id}
Upload Raw Tool Output and Metrics Tool CSVs (uploadToolOutput)
Path parameters
tool_id (required)
Path Parameter — Tool ID to upload data
package_id (required)
Path Parameter — Package ID to upload data
Consumes
This API call consumes the following media types via the request header:
application/json
multipart/form-data
Request headers
Form parameters
metrics_tool_csv (optional)
Form Parameter — Metrics Tool CSV to Upload, the filename should contain one of the following values :'lizard', 'understand', or 'ccsm'
raw_tool_output (optional)
Form Parameter — Raw Tool Output to Upload to the DataHub
Return type
Example data
Content-Type: application/json
{
"message" : "message",
"request_id" : "request_id"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK, Tool Output Successfully Uploaded
request_token
400
Unable to Upload Tool Output
401
Invalid Token Request
403
Missing Required Tokens
default
Unexpected Error
error
[ Jump to Methods ]
Table of Contents
adaptive_heuristic_close_response -
alert_mappings -
alert_no_id -
alert_w_id -
checker -
checker_condition_map -
checker_conditions -
checker_conditions_no_id -
checker_mappings -
checker_mappings_metadata -
classifier_package -
classifier_project -
classifier_projects_requested -
condition -
condition_heading -
condition_languages -
condition_map -
condition_response -
condition_response_no_tax -
create_language_response -
create_package_response -
create_project_response -
create_taxonomy -
create_taxonomy_response -
created_package -
created_project -
determination -
determination_dangerous_construct_list -
determination_dead_list -
determination_flag_list -
determination_ignored_list -
determination_inapplicable_environment_list -
determination_notes_list -
determination_verdict_list -
edit_package -
edit_package_response -
edit_project -
edit_project_response -
edit_taxonomy -
edit_taxonomy_response -
error -
get_alerts_response -
get_classifier_tool -
get_package_response -
get_projects_classifier_response -
get_projects_response -
get_taxonomy -
get_taxonomy_response -
get_tool -
get_tool_response -
language_version -
language_version_w_id -
list_languages -
list_languages_response -
list_packages -
list_packages_response -
list_projects -
list_projects_response -
message -
meta_alert_mappings -
meta_alert_no_id -
meta_alert_w_id -
metrics -
package -
package_alerts -
package_alerts_w_id -
package_heading -
package_metadata -
project -
project_heading -
project_heuristic_message -
project_ids -
project_meta_alerts -
project_metadata -
project_status -
projects_requested -
request_token -
source_mappings -
source_mappings_classifier -
sourcefile -
sourcefunction -
taxonomies_present -
taxonomy_heading -
taxonomy_list_response -
taxonomy_metadata -
test_suite_heading -
test_suite_list_response -
test_suite_metadata -
test_suite_upload_response -
tool_heading -
tool_list_response -
tool_metadata -
tool_response -
tool_response_mapping -
tool_taxonomies_present -
tool_upload_response -
request_id
project_status
alert_id
checker_id
primary_message
tool_id
checker_id
code_language
primary_message
secondary_messages (optional)
alert_id
tool_id
checker_id
code_language_id (optional)
primary_message
secondary_messages (optional)
checker_id (optional)
checker_name (optional)
taxonomy_name
taxonomy_version (optional)
condition_name
title
code_language_ids (optional)
platforms (optional)
condition_fields (optional)
Object Fields associated with this condition, i.e., likelihood
checker_id (optional)
checker_name (optional)
conditions (optional)
checker_name (optional)
conditions (optional)
checker_id (optional)
checker_name (optional)
tool_id (optional)
conditions (optional)
mapping_source (optional)
String Source of the mapping, e.g., CERT wiki, scale.app, etc.
mapper_identity (optional)
mapping_version (optional)
publishable_public_or_not (optional)
dod_publication (optional)
deprecated_or_not (optional)
license_information (optional)
additional_notes (optional)
description (optional)
mapping_date (optional)
mapping_filename (optional)
String 'Filename of the mappings CSV that this data describes and will be uploaded in a subsequent call'
mappings (optional)
package_id
package_name
package_description (optional)
code_languages (optional)
alerts (optional)
test_suite_id (optional)
tools (optional)
source_files (optional)
uploader_id (optional)
uploader_organization_id (optional)
created_at
updated_at (optional)
project_id (optional)
project_name (optional)
project_description (optional)
package (optional)
meta_alerts (optional)
taxonomies (optional)
author_source (optional)
uploader_id (optional)
uploader_organization_id (optional)
created_at (optional)
updated_at (optional)
tool_taxonomies_present (optional)
project_status
code_language_ids (optional)
condition_name
title
platforms (optional)
condition_fields (optional)
Object Fields associated with this condition, i.e., likelihood
condition_id (optional)
condition_name (optional)
title (optional)
code_language_ids
condition_ids
taxonomy_id (optional)
condition_id
condition_name (optional)
title (optional)
code_language_ids (optional)
platforms (optional)
condition_fields (optional)
Object Fields associated with this condition, i.e., likelihood
condition_id
condition_name
title
taxonomy (optional)
platforms (optional)
code_language_ids (optional)
condition_fields (optional)
Object Fields associated with this condition, i.e., likelihood
condition_id
condition_name
title
platforms (optional)
code_language_ids (optional)
condition_fields (optional)
Object Fields associated with this condition, i.e., likelihood
request_id (optional)
language (optional)
request_id
package
status_message (optional)
array[String] Messages indicating the status of the package upload.
request_id
project
status_message (optional)
array[String] Messages indicating the status of the package upload.
request_id (optional)
taxonomy (optional)
package_id
package_name
alert_mappings (optional)
project_id
project_name
meta_alert_mappings (optional)
flag_list (optional)
verdict_list (optional)
ignored_list (optional)
dead_list (optional)
inapplicable_environment_list (optional)
dangerous_construct_list (optional)
notes_list (optional)
dangerous_construct (optional)
String Options for this field include Unknown, No Risk, Low Risk, Medium Risk, and High Risk
timestamp (optional)
dead (optional)
timestamp (optional)
flag (optional)
timestamp (optional)
ignored (optional)
timestamp (optional)
inapplicable_environment (optional)
timestamp (optional)
notes (optional)
timestamp (optional)
verdict (optional)
String 'Options for this field include Unknown, Complex, False, Dependent, and True
timestamp (optional)
package_name (optional)
package_description (optional)
tool_ids (optional)
alerts (optional)
request_id
package_id
alert_mappings (optional)
status_message
project_name (optional)
project_description (optional)
taxonomy_ids (optional)
meta_alerts (optional)
request_id
project_id
meta_alert_mappings (optional)
status_message
request_id (optional)
conditions (optional)
request_id (optional)
meta_alerts (optional)
alerts (optional)
tool_id
tool_name
tool_version
category
source_mappings (optional)
metrics_data_headers (optional)
Object Header fields expected for the metrics data
uploader_id (optional)
uploader_organization_id (optional)
author_source (optional)
taxonomy_id
taxonomy_name
String Name of the taxonomy, i.e., CERT or CWE
taxonomy_version
description (optional)
conditions (optional)
uploader_id (optional)
uploader_organization_id (optional)
author_source (optional)
tool_id
tool_name
tool_version
category
language_platforms (optional)
source_mappings (optional)
metrics_data_headers (optional)
Object Header fields expected for the metrics data
uploader_id (optional)
uploader_organization_id (optional)
author_source (optional)
request_id (optional)
tool (optional)
language
version (optional)
code_language_id
language
version (optional)
line_start
line_end (optional)
filepath
message_text
Meta-alerts must have either a condition_id or checker_id but not\ \ both
meta_alert_id
condition_id (optional)
checker_id (optional)
filepath
line_number
Meta-alerts must have either a condition_id or checker_id but not\ \ both
condition_id (optional)
checker_id (optional)
filepath
line_number
alert_ids
determination (optional)
auto_verdict (optional)
Meta-alerts must have either a condition_id or checker_id but not\ \ both
meta_alert_id
condition_id (optional)
checker_id (optional)
filepath
line_number
alert_ids
determination (optional)
auto_verdict (optional)
ct_pm_verdict (optional)
package_id
package_name
package_description (optional)
code_languages (optional)
alerts (optional)
source_files (optional)
test_suite_id (optional)
uploader_id (optional)
uploader_organization_id (optional)
author_source (optional)
tool_ids (optional)
created_at
updated_at (optional)
package_id
package_name
package_description
uploader_id (optional)
uploader_organization_id (optional)
author_source (optional)
code__languages (optional)
package_name
package_description
author_source (optional)
code_language_ids
code_source_url (optional)
String URL to Source Code Archive format: uri
source_file_url (optional)
source_function_url (optional)
test_suite_id (optional)
String Test Suite Associated with this Package
alerts (optional)
tool_ids
project_id (optional)
project_name (optional)
project_description (optional)
package_id (optional)
uploader_id (optional)
uploader_organization_id (optional)
author_source (optional)
meta_alerts (optional)
taxonomies (optional)
created_at (optional)
updated_at (optional)
project_id
project_name
project_description (optional)
package_id
uploader_id (optional)
uploader_organization_id (optional)
author_source (optional)
project_id (optional)
project_updated (optional)
status_message (optional)
project_name
project_description
author_source (optional)
package_id
use_checkers (optional)
Boolean If true, the DataHub will use checkers to create meta-alerts,\ \ instead of checker-to-condition mappings. Default => False
meta_alerts (optional)
taxonomy_ids (optional)
project_id
set_adaptive_heuristic_open
taxonomies_present (optional)
project_ids
request_id
String ID used to correlate messages with each other
message (optional)
mapping_id (optional)
mapping_source (optional)
checker_mappings (optional)
mapping_id (optional)
mapping_source (optional)
checker_mappings (optional)
source_file_id (optional)
filename (optional)
filepath (optional)
filepath_depth (optional)
defect_info (optional)
code_metrics_data (optional)
functions (optional)
source_function_id (optional)
name (optional)
line_start (optional)
line_end (optional)
code_metrics_data (optional)
taxonomy_ids (optional)
array[String] 'List of taxonomies already present at the source module (Stats). The destination module (DataHub) will use this list to avoid sending duplicate taxonomy information.'
taxonomy_id
taxonomy_name
taxonomy_version
uploader_id (optional)
uploader_organization_id (optional)
author_source (optional)
taxonomy_name
taxonomy_version
description
author_source (optional)
String Author/Agency source of the taxonomy information
conditions
test_suite_id
test_suite_name
test_suite_version
manifest_urls (optional)
uploader_id (optional)
uploader_organization_id (optional)
author_source (optional)
String Author/Agency source of the test suite information
code_languages (optional)
test_suite_name
test_suite_version
test_suite_type (optional)
String Options include 'juliet', 'stonesoup' etc.
manifest_urls (optional)
use_license_file_url (optional)
author_source (optional)
String Author/Agency source of the test suite information
code_languages (optional)
request_id
test_suite
status_message (optional)
tool_id
tool_name
tool_version
language_platforms (optional)
code_language_ids (optional)
uploader_id (optional)
uploader_organization_id (optional)
author_source (optional)
tool_name
tool_version
author_source (optional)
language_platforms (optional)
category
String The type of tool, e.g., FFSA or Metrics
code_language_ids (optional)
checker_mappings (optional)
checkers (optional)
code_metrics_headers (optional)
Object Header fields expected for the metrics data
tool_id
tool_name
tool_version
category (optional)
language_platforms (optional)
checkers (optional)
code_language_ids (optional)
checker_mappings (optional)
mapping_id (optional)
mapping_source (optional)
description (optional)
mapping_date (optional)
tool_ids (optional)
array[String] 'List of tools already present at the source module (Stats). The destination module (DataHub) will use this list to avoid sending duplicate tool information.'
taxonomy_ids (optional)
array[String] 'List of taxonomies already present at the source module (Stats). The destination module (DataHub) will use this list to avoid sending duplicate taxonomy information.'
request_id
tool
status_message (optional)