Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Mar 18, 2024
1 parent f40b1b3 commit a2e5f42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/resources/url-scanner/url-scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ export interface URLScannerScanParams {
*/
date_start?: string;

/**
* Filter scans by hash of any html/js/css request made by the webpage.
*/
hash?: string;

/**
* Filter scans by hostname of _any_ request made by the webpage.
*/
Expand Down
1 change: 1 addition & 0 deletions tests/api-resources/url-scanner/url-scanner.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ describe('resource urlScanner', () => {
asn: '13335',
date_end: '2019-12-27T18:11:19.117Z',
date_start: '2019-12-27T18:11:19.117Z',
hash: 'string',
hostname: 'example.com',
ip: '1.1.1.1',
is_malicious: true,
Expand Down

0 comments on commit a2e5f42

Please sign in to comment.