dataset_name stringclasses 2
values | api_definition stringlengths 365 6.49k | api_name stringlengths 9 47 |
|---|---|---|
cvecpe | {\n "name": "count_cvecpe_items",\n "description": "This function counts the total number of CVE and CPE items provided in the arg.",\n "parameters": {\n "type": "object",\n "properties": {\n "cvecpeList": {\n "type": "list",\n "description": "This arg tak... | count_cvecpe_items |
cvecpe | {\n "name": "summarize_cvecpes",\n "description": "This function can summarize the contents of provided CVE or CPE items.",\n "parameters": {\n "type": "object",\n "properties": {\n "cvecpeList": {\n "type": "list",\n "description": "This arg takes in a li... | summarize_cvecpes |
cvecpe | {\n "name": "verify_and_process_data_range_start",\n "description": "This function can verify whether the range of dates being searched is within 3 months. If true, it returns the original startdate. If not, it will automatically truncate and return an appropriate startdate resulting in a 3-month time span. Note ... | verify_and_process_data_range_start |
cvecpe | {\n "name": "verify_and_process_data_range_end",\n "description": "This function can verify whether the range of dates being searched is within 3 months. If true, it returns the original enddate. If not, it will automatically truncate and return an appropriate enddate resulting in a 3-month time span. Note that s... | verify_and_process_data_range_end |
cvecpe | {\n "name": "compare_cvecpes",\n "description": "This function can compare the contents of two lists of provided CVE or CPE items, summarizing the common parts and differences between the two lists.",\n "parameters": {\n "type": "object",\n "properties": {\n "cvecpeList1": {\n ... | compare_cvecpes |
cvecpe | {\n "name": "search_backup_keywords",\n "description": "This function takes in a backup keyword and a list of CVE or CPE items found by an initial searchCVE or searchCPE. If the list is empty, the function will search again using the backup keyword instead of the original keyword. If it is not empty, the function... | search_backup_keywords |
cvecpe | {\n "name": "getCPEName",\n "description": "This function takes a CPE object and extracts the CPE name. Args: - cpeObject: A CPE object from which the CPE name is to be extracted. The object should have a \'cpeName\' field, Returns: - str: The CPE name retrieved from the CPE object.",\n "parameters": {\n ... | getCPEName |
cvecpe | {\n "name": "get_first_object_from_list",\n "description": "Retrieves the first object from a given list. If the list is empty, it return `None`. Args: - list_of_objects: list, required, List containing objects from which the function will pick out the first object.",\n "parameters": {\n "type": "object... | get_first_object_from_list |
cvecpe | {\n "name": "countCVEsBySeverity",\n "description": "Analyze a list of CVE objects, and return a dictionary with counts of CVEs according to their \'cvssV3Severity\' (LOW, MEDIUM, HIGH, CRITICAL).",\n "parameters": {\n "type": "object",\n "properties": {\n "cve_list": {\n ... | countCVEsBySeverity |
cvecpe | {\n "name": "sortCVEsByCVSSv3Score",\n "description": "Accepts a list of CVE objects and sorts them by their CVSS Version 3.x base scores. If a CVE object does not contain a CVSS v3 score, it is assumed to have the lowest possible score (i.e., 0). Args: - cve_list (list): List of CVE objects, where each object co... | sortCVEsByCVSSv3Score |
cvecpe | {\n "name": "sortCVEsByCVSSv2Score",\n "description": "Accepts a list of CVE objects and sorts them by their CVSS Version 2.0 base scores. If a CVE object does not contain a CVSS v2 score, it is assumed to have the lowest possible score (i.e., 0). Returns: list: The input list of CVEs sorted in decreasing order o... | sortCVEsByCVSSv2Score |
cvecpe | {\n "name": "sortCVEsByModDate",\n "description": "This function sorts a list of CVE objects by their last modification date. Args: - cve_list (list of CVE objects): A required list of CVE objects. Each object should at least have a property for last modification date. - descending (bool, optional): If set to Tru... | sortCVEsByModDate |
cvecpe | {\n "name": "filterCVEByLanguage",\n "description": "Filters a collection of CVE (Common Vulnerabilities and Exposures) objects and returns a list of the ones that have descriptions for a specific language.",\n "parameters": {\n "type": "object",\n "properties": {\n "cve_list": {\n ... | filterCVEByLanguage |
cvecpe | {\n "name": "filterCVEsBySeverity",\n "description": "Returns a list of CVE objects from the given collection that have the provided severity level. Args: - cveList: list, required, List of objects containing a collection of CVEs. Each CVE object is expected to have \'cvssV2Severity\' and/or \'cvssV3Severity\' pr... | filterCVEsBySeverity |
cvecpe | {\n "name": "filterDeprecatedCPEs",\n "description": "Loop through the CPE objects in the list and return the ones that are not deprecated. Args: - cpeList (list): A list of CPE objects. Each CPE object has a \'deprecated\' key. If the value of this key is False, it means the CPE object is not deprecated. Returns... | filterDeprecatedCPEs |
cvecpe | {\n "name": "sortCPEsByLastMod",\n "description": "Sorts a list of object collections of CPEs by their last modification time. Args: - cpeList (list): The list of object collections of CPEs that need to be sorted. Each object collection has a lastModified field. - descending (bool): Determines the order of sort. ... | sortCPEsByLastMod |
cvecpe | {\n "name": "mergeCVEs",\n "description": "This function takes two lists of objects each containing a collection of CVEs, and combines them into a single list.",\n "parameters": {\n "type": "object",\n "properties": {\n "list1": {\n "type": "list",\n "desc... | mergeCVEs |
cvecpe | {\n "name": "mergeCPEs",\n "description": "Combines two lists of CPEs into one. Args: - list1 (list): List of CPEs. Each object in the list should contain a collection of CPEs. - list2 (list): Another list of CPEs. Each object in this list should also contain a collection of CPEs. Returns: - combined_list (list):... | mergeCPEs |
cvecpe | {\n "name": "searchCVE",\n "description": "NVDLib is a Python API wrapper utilizing the REST API provided by NIST for the National Vulnerability Database (NVD). NVDLib CVESearch can search specific CVEs according to the uses\' requests.",\n "parameters": {\n "type": "object",\n "properties": {\n ... | searchCVE |
cvecpe | {\n "name": "searchCPE",\n "description": "NVDLib is a Python API wrapper utilizing the REST API provided by NIST for the National Vulnerability Database (NVD). Searching for CPEs is similar to searching for CVEs albeit less parameters. CPE match strings are allowed, meaning if partial strings are known, you can ... | searchCPE |
virustotal | {\n "name": "get_random_object_from_list",\n "description": "This function selects and returns a random object from a list of objects. It is designed to handle any list length, including empty lists",\n "parameters": {\n "type": "object",\n "properties": {\n "list_of_objects": {\n ... | get_random_object_from_list |
virustotal | Here is the transformed format:\n{\n "name": "get_first_object_from_list",\n "description": "Retrieves the first object from a given list. If the list is empty, it return `None`.",\n "parameters": {\n "type": "object",\n "properties": {\n "list_of_objects": {\n "type": "... | get_first_object_from_list |
virustotal | {\n "name": "calculate_sum_of_numbers",\n "description": "Computes the sum of two numbers provided. Input numbers can be either integer or floating-point values.",\n "parameters": {\n "type": "object",\n "properties": {\n "num1": {\n "type": ["integer", "float"],\n ... | calculate_sum_of_numbers |
virustotal | {\n "name": "extract_resolution_date",\n "description": "Extracts the date of DNS resolution from a DNS resolution object. The date is returned as a Unix timestamp.",\n "parameters": {\n "type": "object",\n "properties": {\n "dns_res_obj": {\n "type": "object",\n ... | extract_resolution_date |
virustotal | {\n "name": "count_items_in_list",\n "description": "This function takes a list as an input and returns the number of items present in the list.",\n "parameters": {\n "type": "object",\n "properties": {\n "input_list": {\n "type": "list",\n "description": ... | count_items_in_list |
virustotal | {\n "name": "vt_get_majority_vote",\n "description": "This function takes a dictionary of votes returns the name with the majority votes. If the votes are equal, it will return the first encountered key in the dictionary.",\n "parameters": {\n "type": "object",\n "properties": {\n "vot... | vt_get_majority_vote |
virustotal | {\n "name": "vt_get_multiple_domain_reports",\n "description": "retrieves reports for a list of domains provided. For each domain in the list, it requests the collected information regarding that domain from VirusTotal.",\n "parameters": {\n "type": "object",\n "properties": {\n "domai... | vt_get_multiple_domain_reports |
virustotal | {\n "name": "vt_get_comments_on_multiple_domains",\n "description": "This function will retrieve comments for each specified domain in the given list",\n "parameters": {\n "type": "object",\n "properties": {\n "domains": {\n "type": "array",\n "items": {\n... | vt_get_comments_on_multiple_domains |
virustotal | {\n "name": "vt_get_last_analysis_date_from_report",\n "description": "This function retrieves the last analysis date from the domain report collected by VirusTotal. The returned date is in Unix timestamp format.",\n "parameters": {\n "type": "object",\n "properties": {\n "report": {\n... | vt_get_last_analysis_date_from_report |
virustotal | {\n "name": "vt_is_date_within_range",\n "description": "Checks if a given Unix timestamp is within a specified date range. The range is specified by \'start\' and \'end\' dates formatted as \'YYYY/MM/DD\'. It\'s permissible for only one of \'start\' or \'end\' to be present in the function call. If \'start\' is ... | vt_is_date_within_range |
virustotal | {\n "name": "convert_unix_timestamp_to_date",\n "description": "Converts a UNIX timestamp to a human-readable date in the format \'YYYY/MM/DD\'",\n "parameters": {\n "type": "object",\n "properties": {\n "unix_timestamp": {\n "type": "integer",\n "descript... | convert_unix_timestamp_to_date |
virustotal | {\n "name": "vt_get_threat_actors_latest_modification_date",\n "description": "This function retrieves the latest modification date from a list of threat actor objects. It iterates through each threat actor object, checks its modification date, and returns the most recent modification date.",\n "parameters": {... | vt_get_threat_actors_latest_modification_date |
virustotal | {\n "name": "vt_get_threat_actors_main_source_region",\n "description": "This function takes a list of threat actor objects and returns the primary source region among them. Each threat actor object has an attribute \'source region\', and the function analyses this attribute across all objects to determine and re... | vt_get_threat_actors_main_source_region |
virustotal | {\n "name": "vt_validate_historical_ssl_certificates",\n "description": "This function takes historical SSL certificates as input and checks if there is at least one valid SSL certificate present inside the provided historical data. It validates the SSL certificate by checking whether it is not expired and its is... | vt_validate_historical_ssl_certificates |
virustotal | {\n "name": "vt_get_dns_resolution_object",\n "description": "This endpoint retrieves a Resolution object by its ID. A resolution object ID is made by appending the IP and the domain it resolves to together. Domain-IP resolutions. Resolution objects include the following attributes: date: <integer> date when the ... | vt_get_dns_resolution_object |
virustotal | {\n "name": "vt_get_objects_related_to_ip_address",\n "description": "IP addresses have number of relationships to other objects. This returns ALL objects that fit the relationship.",\n "parameters": {\n "type": "object",\n "properties": {\n "ip": {\n "type": "string",\n... | vt_get_objects_related_to_ip_address |
virustotal | {\n "name": "vt_get_ip_address_report",\n "description": "Retrieve an IP address report. These reports condense all of the recent activity that VirusTotal has seen for the resource under consideration, as well as contextual information about it. This function specifically generates these reports using the IP addr... | vt_get_ip_address_report |
virustotal | {\n "name": "vt_add_votes_to_ip_address",\n "description": "With this function you can post a vote for a given file. The body for the POST request must be the JSON representation of a vote object. Note however that you don\'t need to provide an ID for the object, as they are automatically generated for new votes.... | vt_add_votes_to_ip_address |
virustotal | {\n "name": "vt_get_domain_report",\n "description": "Retrieves a domain report. These reports contain information regarding the domain itself that VirusTotal has collected.",\n "parameters": {\n "type": "object",\n "properties": {\n "domain": {\n "type": "string",\n ... | vt_get_domain_report |
virustotal | {\n "name": "vt_get_comments_on_ip_address",\n "description": "Retrieves the comments on a provided IP address. Returns a list of Comment objects",\n "parameters": {\n "type": "object",\n "properties": {\n "ip": {\n "type": "string",\n "description": "IP a... | vt_get_comments_on_ip_address |
virustotal | {\n "name": "vt_add_comment_to_ip_address",\n "description": "With this function you can post a comment for a given IP address. The body for the POST request must be the JSON representation of a comment object. Notice however that you don\'t need to provide an ID for the object, as they are automatically generate... | vt_add_comment_to_ip_address |
virustotal | {\n "name": "vt_get_object_descriptors_related_to_ip_address",\n "description": "This specifically returns related object\'s IDs (and context attributes, if any). Please note that this will not return all attributes. You are expected to provide the relationship to the object you\'re interested in. The valid relat... | vt_get_object_descriptors_related_to_ip_address |
virustotal | Here is the transformed format:\n\n{\n "name": "vt_get_objects_related_to_domain",\n "description": "Objects are a key concept in the VirusTotal API. Each object has an identifier and a type. Each object has an associated URL, and each domain is associated with objects. This function returns ALL of the objects re... | vt_get_objects_related_to_domain |
virustotal | {\n "name": "vt_get_object_descriptors_related_to_domain",\n "description": "This specifically returns related object\'s IDs (and context attributes, if any). Please note that this will not return all attributes. This will return objects relating to a domain.",\n "parameters": {\n "type": "object",\n ... | vt_get_object_descriptors_related_to_domain |
virustotal | {\n "name": "vt_get_comments_on_domain",\n "description": "This function will retrieve comments on a specified domain",\n "parameters": {\n "type": "object",\n "properties": {\n "domain": {\n "type": "string",\n "description": "Domain name",\n }... | vt_get_comments_on_domain |
virustotal | {\n "name": "vt_get_votes_on_ip_address",\n "description": "This function will retrieve votes on a provided IP address",\n "parameters": {\n "type": "object",\n "properties": {\n "ip": {\n "type": "string",\n "description": "ip address"\n }\n ... | vt_get_votes_on_ip_address |
- Downloads last month
- 4