File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
src/resources/url-scanner
tests/api-resources/url-scanner Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,12 @@ export interface URLScannerScanParams {
8383 */
8484 account_scans ?: boolean ;
8585
86+ /**
87+ * Filter scans by Autonomous System Number (ASN) of _any_ request made by the
88+ * webpage.
89+ */
90+ asn ?: string ;
91+
8692 /**
8793 * Filter scans requested before date (inclusive).
8894 */
@@ -103,6 +109,11 @@ export interface URLScannerScanParams {
103109 */
104110 ip ?: string ;
105111
112+ /**
113+ * Filter scans by malicious verdict.
114+ */
115+ is_malicious ?: boolean ;
116+
106117 /**
107118 * Limit the number of objects in the response.
108119 */
@@ -113,6 +124,11 @@ export interface URLScannerScanParams {
113124 */
114125 next_cursor ?: string ;
115126
127+ /**
128+ * Filter scans by main page Autonomous System Number (ASN).
129+ */
130+ page_asn ?: string ;
131+
116132 /**
117133 * Filter scans by main page hostname .
118134 */
Original file line number Diff line number Diff line change @@ -38,12 +38,15 @@ describe('resource urlScanner', () => {
3838 'string' ,
3939 {
4040 account_scans : true ,
41+ asn : '13335' ,
4142 date_end : '2019-12-27T18:11:19.117Z' ,
4243 date_start : '2019-12-27T18:11:19.117Z' ,
4344 hostname : 'example.com' ,
4445 ip : '1.1.1.1' ,
46+ is_malicious : true ,
4547 limit : 100 ,
4648 next_cursor : 'string' ,
49+ page_asn : 'string' ,
4750 page_hostname : 'string' ,
4851 page_ip : 'string' ,
4952 page_path : 'string' ,
You can’t perform that action at this time.
0 commit comments