-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
64 lines (63 loc) · 2.06 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: 'Run a Bright Discovery'
description: 'Run a Bright discovery right in GitHub Action'
branding:
icon: 'upload-cloud'
color: 'blue'
inputs:
api_token:
description: 'Api Token. You can generate it in Organization section'
required: true
restart_discovery_id:
description: 'Discovery ID to restart'
required: false
hostname:
description: 'Hostname. Default is app.brighsec.com'
required: false
project_id:
description: 'Project ID for Discovery'
required: true
file_id:
description: 'HAR-file ID'
required: false
auth_object_id:
description: 'Auth object ID'
required: false
repeaters:
description: 'IDs of repeaters needed for the discovery'
required: false
discovery_types:
description: 'Array of discovery types. Can be: archive, crawler, oas'
required: false
crawler_urls:
description: 'Crawler URLs'
required: false
smart:
description: 'Use automatic smart decisions such as: parameter skipping, detection phases, etc. to minimize scan time'
required: false
exclude_entry_points:
description: 'A list of JSON strings that contain patterns for entry points you would like to ignore during the tests. Pass an empty array to remove default exclusions. To apply patterns for all HTTP methods, you can set an empty array to "methods"'
required: false
hosts_filter:
description: 'Hosts filter'
required: false
name:
description: 'Discovery Name'
default: 'GitHub Discovery'
required: false
crawl_parent_subdomains:
description: 'Crawl parent path folders and subdomains'
required: false
concurrency:
description: 'Number of maximum concurrent requests allowed to be sent to the target, can range between 1 to 50 (default: 10)'
required: false
interactions_depth:
description: 'Number of maximum interactions with nested objects, can range between 1 to 5 (default: 3)'
required: false
outputs:
url:
description: 'Url of the resulting discovery'
id:
description: 'Discovery ID'
runs:
using: 'node20'
main: 'dist/index.js'