README.md in virustotalx-1.1.0 vs README.md in virustotalx-1.2.0

- old
+ new

@@ -1,9 +1,9 @@ # virustotalx [![Gem Version](https://badge.fury.io/rb/virustotalx.svg)](https://badge.fury.io/rb/virustotalx) -[![Build Status](https://travis-ci.org/ninoseki/virustotalx.svg?branch=master)](https://travis-ci.org/ninoseki/virustotalx) +[![Ruby CI](https://github.com/ninoseki/virustotalx/actions/workflows/test.yml/badge.svg)](https://github.com/ninoseki/virustotalx/actions/workflows/test.yml) [![Coverage Status](https://coveralls.io/repos/github/ninoseki/virustotalx/badge.svg?branch=master)](https://coveralls.io/github/ninoseki/virustotalx?branch=master) [![CodeFactor](https://www.codefactor.io/repository/github/ninoseki/virustotalx/badge)](https://www.codefactor.io/repository/github/ninoseki/virustotalx) Yet another VirusTotal API (version 3) wrapper for Ruby. @@ -42,11 +42,11 @@ - [VirusTotal API reference](https://developers.virustotal.com/v3.0/reference#overview) ### Files | HTTP Method | URL | API method | -| ----------- | ---------------------------------- | ---------------------------------------------------------- | +|-------------|------------------------------------|------------------------------------------------------------| | POST | /files | api.file.upload(filepath) | | GET | /files/upload_url | api.file.upload_url | | GET | /files/{id} | api.file.get(id) | | POST | /files | api.file.upload(path) | | POST | /files/{id}/analyse | api.file.analyse(id) | @@ -60,11 +60,11 @@ | GET | /file_behaviours/{sandbox_id}/pcap | api.file.pcap(sandbox_id) | ### URLs | HTTP Method | URL | API method | -| ----------- | --------------------------- | -------------------------------------------------------------- | +|-------------|-----------------------------|----------------------------------------------------------------| | POST | /urls | N/A | | GET | /urls/{id} | api.url.get(id) | | POST | /urls/{id}/analyse | api.url.analyse(id) | | GET | /urls/{id}/comments | api.url.comments(id) | | POST | /urls/{id}/comments | api.url.add_comment(id) | @@ -76,35 +76,35 @@ Note: you can use a URL as an id. ### Domains | HTTP Method | URL | API method | -| ----------- | -------------------------------- | ------------------------------------------------------------ | +|-------------|----------------------------------|--------------------------------------------------------------| | GET | /domains/{domain} | api.domain.get(domain) | | GET | /domains/{domain}/comments | api.domain.comment(domain) | | POST | /domains/{domain}/comments | api.domain.add_comment(domain, text) | | GET | /domains/{domain}/{relationship} | api.domain.`relationship`(domain) (e.g. api.domain.(domain)) | ### IP addresses | HTTP Method | URL | API method | -| ----------- | --------------------------------- | ------------------------------------------------------------------------------- | +|-------------|-----------------------------------|---------------------------------------------------------------------------------| | GET | /ip_addresses/{ip} | api.ip_address.get(ip) | | GET | /ip_addresses/{ip}/comments | api.ip_address.comments(id) | | POST | /ip_addresses/{ip}/comments | api.ip_address.add_comment(id, text) | | GET | /ip_addresses/{ip}/{relationship} | api.ip_address.`relationship`(id) (e.g. api.ip_address.communicating_files(ip)) | ### Analyses | HTTP Method | URL | API method | -| ----------- | -------------- | -------------------- | +|-------------|----------------|----------------------| | GET | /analyses/{id} | api.analysis.get(ip) | ## Graphs | HTTP Method | URL | API method | -| ----------- | ---------------------------------------------------- | ----------------------------------------------------------------------------------- | +|-------------|------------------------------------------------------|-------------------------------------------------------------------------------------| | GET | graphs | api.graph.search(filter: nil, limit: nil, cursor: nil, order: nil, attributes: nil) | | POST | graphs | api.graph.create(\*\*params) | | GET | graphs/{id} | api.graph.get(id) | | PATCH | graphs/{id} | api.graph.update(id, \*\*params) | | GET | graphs/{id}/relationships/viewers | api.graph.viewers(id, limit: nil, cursor: nil) | @@ -114,9 +114,15 @@ | GET | graphs/{id}/relationships/editors | api.graph.editors(id, limit: nil, cursor: nil) | | POST | graphs/{id}/relationships/editors | api.graph.add_editor(id, \*\*params) | | GET | graphs/{id}/relationships/editors/{user_or_group_id} | api.graph.check_editor(id, user_or_group_id) | | DELETE | graphs/{id}/relationships/editors/{user_or_group_id} | api.graph.delete_editor(id, user_or_group_id) | | GET | graphs/{id}/relationships/{relationship} | api.graph.`relationship`(id) | + +## Intelligence + +| HTTP Method | URL | API method | +|-------------|---------------------|--------------------------------------------------------------------------------------------| +| GET | intelligence/search | api.intelligence.search(query, order: nil, limit: nil, cursor: nil, descriptors_only: nil) | ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).