virustotal_api 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.virustotal.com/api/v3/files/01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*"
12
+ User-Agent:
13
+ - rest-client/2.1.0 (linux-gnu x86_64) ruby/2.5.1p57
14
+ X-Apikey:
15
+ - testapikey
16
+ Content-Length:
17
+ - '0'
18
+ Content-Type:
19
+ - application/x-www-form-urlencoded
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ Host:
23
+ - www.virustotal.com
24
+ response:
25
+ status:
26
+ code: 404
27
+ message: Not Found
28
+ headers:
29
+ Cache-Control:
30
+ - no-cache
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ X-Cloud-Trace-Context:
34
+ - 1530c5d92ceea7ca966597807f154284
35
+ Date:
36
+ - Mon, 28 Sep 2020 16:25:32 GMT
37
+ Server:
38
+ - Google Frontend
39
+ Content-Length:
40
+ - '130'
41
+ body:
42
+ encoding: UTF-8
43
+ string: |-
44
+ {
45
+ "error": {
46
+ "code": "NotFoundError",
47
+ "message": "File \"01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b\" not found"
48
+ }
49
+ }
50
+ http_version:
51
+ recorded_at: Mon, 28 Sep 2020 16:25:32 GMT
52
+ recorded_with: VCR 5.0.0
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://www.virustotal.com/api/v3/files/01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b/analyse
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*"
12
+ User-Agent:
13
+ - rest-client/2.1.0 (linux-gnu x86_64) ruby/2.5.1p57
14
+ X-Apikey:
15
+ - testapikey
16
+ Content-Length:
17
+ - '0'
18
+ Content-Type:
19
+ - application/x-www-form-urlencoded
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ Host:
23
+ - www.virustotal.com
24
+ response:
25
+ status:
26
+ code: 429
27
+ message: Too Many Requests
28
+ headers:
29
+ Cache-Control:
30
+ - no-cache
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ X-Cloud-Trace-Context:
34
+ - 478e4eb97aa48d5b286e7e4b3aa67ef6
35
+ Date:
36
+ - Wed, 30 Sep 2020 15:15:30 GMT
37
+ Server:
38
+ - Google Frontend
39
+ Content-Length:
40
+ - '98'
41
+ body:
42
+ encoding: UTF-8
43
+ string: |-
44
+ {
45
+ "error": {
46
+ "code": "QuotaExceededError",
47
+ "message": "Quota exceeded"
48
+ }
49
+ }
50
+ http_version:
51
+ recorded_at: Wed, 30 Sep 2020 15:15:30 GMT
52
+ recorded_with: VCR 5.0.0
@@ -0,0 +1,216 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.virustotal.com/api/v3/groups/GROUP_us
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*"
12
+ User-Agent:
13
+ - rest-client/2.1.0 (linux-gnu x86_64) ruby/2.5.1p57
14
+ X-Apikey:
15
+ - testapikey
16
+ Content-Length:
17
+ - '0'
18
+ Content-Type:
19
+ - application/x-www-form-urlencoded
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ Host:
23
+ - www.virustotal.com
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Cache-Control:
30
+ - no-cache
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ X-Cloud-Trace-Context:
34
+ - 424b5968185466d45e93db7cd34f7055
35
+ Date:
36
+ - Mon, 05 Oct 2020 14:16:58 GMT
37
+ Server:
38
+ - Google Frontend
39
+ Content-Length:
40
+ - '5487'
41
+ body:
42
+ encoding: UTF-8
43
+ string: |-
44
+ {
45
+ "data": {
46
+ "attributes": {
47
+ "agreement_company_address": "3582 White River Way, Farmington, UT 84025",
48
+ "agreement_company_country": "US",
49
+ "agreement_company_name": "GROUP inc",
50
+ "agreement_signatory": "Valdo Donati",
51
+ "agreement_signatory_email": "granville@okeefehomenick.co",
52
+ "agreement_signatory_title": "mr",
53
+ "agreement_signed_date": 1580891744,
54
+ "country": "USA",
55
+ "country_iso": "US",
56
+ "domain_name": "okeefehomenick.co",
57
+ "industry": "Communications",
58
+ "lock_users_api_quota_group": true,
59
+ "organization": "GROUP inc",
60
+ "organization_legal_name": "GROUP inc",
61
+ "privileges": {
62
+ "cases": {
63
+ "granted": false
64
+ },
65
+ "click_to_accept": {
66
+ "granted": true
67
+ },
68
+ "creditcards": {
69
+ "granted": false
70
+ },
71
+ "dogfooder": {
72
+ "granted": false
73
+ },
74
+ "downloads-tier-1": {
75
+ "granted": false
76
+ },
77
+ "downloads-tier-2": {
78
+ "expiration_date": 1625011200,
79
+ "granted": true
80
+ },
81
+ "file-behaviour-feed": {
82
+ "granted": false
83
+ },
84
+ "file-feed": {
85
+ "granted": false
86
+ },
87
+ "file-feed-without-av-results": {
88
+ "granted": false
89
+ },
90
+ "intelligence": {
91
+ "expiration_date": 1625011200,
92
+ "granted": true
93
+ },
94
+ "intelligence-search-tier-1": {
95
+ "granted": false
96
+ },
97
+ "intelligence-search-tier-2": {
98
+ "granted": false
99
+ },
100
+ "intelligence-search-tier-3": {
101
+ "granted": false
102
+ },
103
+ "monitor": {
104
+ "granted": false
105
+ },
106
+ "monitor-partner": {
107
+ "granted": false
108
+ },
109
+ "private": {
110
+ "expiration_date": 1625011200,
111
+ "granted": true
112
+ },
113
+ "retrohunt-tier-1": {
114
+ "granted": false
115
+ },
116
+ "retrohunt-tier-2": {
117
+ "granted": false
118
+ },
119
+ "retrohunt-tier-3": {
120
+ "granted": false
121
+ },
122
+ "sales-staff": {
123
+ "granted": false
124
+ },
125
+ "staff": {
126
+ "granted": false
127
+ },
128
+ "url-feed": {
129
+ "granted": false
130
+ },
131
+ "vtalerts": {
132
+ "granted": false
133
+ },
134
+ "vtdiff-api": {
135
+ "granted": false
136
+ },
137
+ "vtdiff-ui": {
138
+ "granted": false
139
+ },
140
+ "vtgrep": {
141
+ "granted": false
142
+ },
143
+ "widget": {
144
+ "granted": false
145
+ }
146
+ },
147
+ "quota_usage_by_user": {},
148
+ "quotas": {
149
+ "api_requests_daily": {
150
+ "allowed": 30000,
151
+ "used": 1
152
+ },
153
+ "api_requests_hourly": {
154
+ "allowed": 1800000,
155
+ "used": 0
156
+ },
157
+ "api_requests_monthly": {
158
+ "allowed": 1000000000,
159
+ "used": 15
160
+ },
161
+ "cases_creation_monthly": {
162
+ "allowed": 20,
163
+ "used": 0
164
+ },
165
+ "intelligence_downloads_monthly": {
166
+ "allowed": 15000,
167
+ "used": 0
168
+ },
169
+ "intelligence_graphs_private": {
170
+ "allowed": 0,
171
+ "used": 0
172
+ },
173
+ "intelligence_hunting_rules": {
174
+ "allowed": 25,
175
+ "used": 3
176
+ },
177
+ "intelligence_retrohunt_jobs_monthly": {
178
+ "allowed": 5,
179
+ "used": 0
180
+ },
181
+ "intelligence_searches_monthly": {
182
+ "allowed": 15000,
183
+ "used": 41
184
+ },
185
+ "intelligence_vtdiff_creation_monthly": {
186
+ "allowed": 100000000,
187
+ "used": 0
188
+ },
189
+ "monitor_storage_bytes": {
190
+ "allowed": 0,
191
+ "used": 0
192
+ },
193
+ "monitor_storage_files": {
194
+ "allowed": 0,
195
+ "used": 0
196
+ },
197
+ "monitor_uploaded_bytes": {
198
+ "allowed": 0,
199
+ "used": 0
200
+ },
201
+ "monitor_uploaded_files": {
202
+ "allowed": 0,
203
+ "used": 0
204
+ }
205
+ }
206
+ },
207
+ "id": "GROUP_us",
208
+ "links": {
209
+ "self": "https://www.virustotal.com/api/v3/groups/GROUP_us"
210
+ },
211
+ "type": "group"
212
+ }
213
+ }
214
+ http_version:
215
+ recorded_at: Mon, 05 Oct 2020 14:16:58 GMT
216
+ recorded_with: VCR 5.0.0
@@ -0,0 +1,213 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.virustotal.com/api/v3/users/testapikey
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*"
12
+ User-Agent:
13
+ - rest-client/2.1.0 (linux-gnu x86_64) ruby/2.5.1p57
14
+ X-Apikey:
15
+ - testapikey
16
+ Content-Length:
17
+ - '0'
18
+ Content-Type:
19
+ - application/x-www-form-urlencoded
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ Host:
23
+ - www.virustotal.com
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Cache-Control:
30
+ - no-cache
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ X-Cloud-Trace-Context:
34
+ - 4ad711d6d44ea44146d4c06cb76589b1
35
+ Date:
36
+ - Mon, 05 Oct 2020 10:19:46 GMT
37
+ Server:
38
+ - Google Frontend
39
+ Content-Length:
40
+ - '5145'
41
+ body:
42
+ encoding: UTF-8
43
+ string: |-
44
+ {
45
+ "data": {
46
+ "attributes": {
47
+ "apikey": "testapikey",
48
+ "email": "granville@okeefehomenick.co",
49
+ "first_name": "Valdo",
50
+ "has_2fa": false,
51
+ "last_login": 1601883978,
52
+ "last_name": "Donati",
53
+ "preferences": {
54
+ "ui": {
55
+ "last_read_notification_date": 1599481553
56
+ }
57
+ },
58
+ "privileges": {
59
+ "cases": {
60
+ "granted": false
61
+ },
62
+ "click_to_accept": {
63
+ "granted": false
64
+ },
65
+ "creditcards": {
66
+ "granted": false
67
+ },
68
+ "dogfooder": {
69
+ "granted": false
70
+ },
71
+ "downloads-tier-1": {
72
+ "granted": false
73
+ },
74
+ "downloads-tier-2": {
75
+ "granted": false
76
+ },
77
+ "file-behaviour-feed": {
78
+ "granted": false
79
+ },
80
+ "file-feed": {
81
+ "granted": false
82
+ },
83
+ "file-feed-without-av-results": {
84
+ "granted": false
85
+ },
86
+ "intelligence": {
87
+ "granted": false
88
+ },
89
+ "intelligence-search-tier-1": {
90
+ "granted": false
91
+ },
92
+ "intelligence-search-tier-2": {
93
+ "granted": false
94
+ },
95
+ "intelligence-search-tier-3": {
96
+ "granted": false
97
+ },
98
+ "monitor": {
99
+ "granted": false
100
+ },
101
+ "monitor-partner": {
102
+ "granted": false
103
+ },
104
+ "private": {
105
+ "granted": false
106
+ },
107
+ "retrohunt-tier-1": {
108
+ "granted": false
109
+ },
110
+ "retrohunt-tier-2": {
111
+ "granted": false
112
+ },
113
+ "retrohunt-tier-3": {
114
+ "granted": false
115
+ },
116
+ "sales-staff": {
117
+ "granted": false
118
+ },
119
+ "staff": {
120
+ "granted": false
121
+ },
122
+ "url-feed": {
123
+ "granted": false
124
+ },
125
+ "vtalerts": {
126
+ "granted": false
127
+ },
128
+ "vtdiff-api": {
129
+ "granted": false
130
+ },
131
+ "vtdiff-ui": {
132
+ "granted": false
133
+ },
134
+ "vtgrep": {
135
+ "granted": false
136
+ },
137
+ "widget": {
138
+ "granted": false
139
+ }
140
+ },
141
+ "profile_phrase": "",
142
+ "quotas": {
143
+ "api_requests_daily": {
144
+ "allowed": 5760,
145
+ "used": 102
146
+ },
147
+ "api_requests_hourly": {
148
+ "allowed": 240,
149
+ "used": 0
150
+ },
151
+ "api_requests_monthly": {
152
+ "allowed": 1000000000,
153
+ "used": 105
154
+ },
155
+ "cases_creation_monthly": {
156
+ "allowed": 20,
157
+ "used": 0
158
+ },
159
+ "intelligence_downloads_monthly": {
160
+ "allowed": 0,
161
+ "used": 0
162
+ },
163
+ "intelligence_graphs_private": {
164
+ "allowed": 0,
165
+ "used": 0
166
+ },
167
+ "intelligence_hunting_rules": {
168
+ "allowed": 0,
169
+ "used": 0
170
+ },
171
+ "intelligence_retrohunt_jobs_monthly": {
172
+ "allowed": 0,
173
+ "used": 0
174
+ },
175
+ "intelligence_searches_monthly": {
176
+ "allowed": 0,
177
+ "used": 0
178
+ },
179
+ "intelligence_vtdiff_creation_monthly": {
180
+ "allowed": 0,
181
+ "used": 0
182
+ },
183
+ "monitor_storage_bytes": {
184
+ "allowed": 0,
185
+ "used": 0
186
+ },
187
+ "monitor_storage_files": {
188
+ "allowed": 0,
189
+ "used": 0
190
+ },
191
+ "monitor_uploaded_bytes": {
192
+ "allowed": 0,
193
+ "used": 0
194
+ },
195
+ "monitor_uploaded_files": {
196
+ "allowed": 0,
197
+ "used": 0
198
+ }
199
+ },
200
+ "reputation": 1,
201
+ "status": "active",
202
+ "user_since": 1512986169
203
+ },
204
+ "id": "granville",
205
+ "links": {
206
+ "self": "https://www.virustotal.com/api/v3/users/granville"
207
+ },
208
+ "type": "user"
209
+ }
210
+ }
211
+ http_version:
212
+ recorded_at: Mon, 05 Oct 2020 10:19:46 GMT
213
+ recorded_with: VCR 5.0.0