-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathScans_ScheduleOAuth2.json
More file actions
83 lines (83 loc) · 1.99 KB
/
Copy pathScans_ScheduleOAuth2.json
File metadata and controls
83 lines (83 loc) · 1.99 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"Name": "ScheduledScanOAuth2 - By API",
"NextExecutionTime": "01/01/2022 01:10 PM",
"ScheduleRunType": "Once",
"TargetUri": "http://rest.testsparker.com/",
"CrawlAndAttack": true,
"EnableHeuristicChecksInCustomUrlRewrite": true,
"ExcludedLinks": [
{
"RegexPattern": "(log|sign)\\-?(out|off)"
},
{
"RegexPattern": "exit"
},
{
"RegexPattern": "endsession"
},
{
"RegexPattern": "gtm\\.js"
},
{
"RegexPattern": "WebResource\\.axd"
},
{
"RegexPattern": "ScriptResource\\.axd"
}
],
"DisallowedHttpMethods": [],
"ExcludeLinks": true,
"FindAndFollowNewLinks": true,
"OAuth2SettingModel": {
"FlowType": "ClientCredentials",
"AuthenticationType": "None",
"AccessTokenEndpoint": {
"Url": "http://rest.testsparker.com:8080/token",
"ContentType": "application/x-www-form-urlencoded",
"Method": "POST"
},
"AccessTokenItems": [
{
"Name": "grant_type",
"Value": "client_credentials",
"IsEncrypted": false
},
{
"Name": "client_id",
"Value": "rest.testsparker.com",
"IsEncrypted": false
},
{
"Name": "client_secret",
"Value": "n3tsp4rk3r_s3cr3t",
"IsEncrypted": false
},
{
"Name": "scope",
"Value": "basic",
"IsEncrypted": false
}
],
"ResponseFields": {
"AccessToken": "access_token",
"RefreshToken": "refresh_token",
"Expire": "expires_in",
"TokenType": "token_type",
"IsTokenTypeFixed": true
}
},
"IsMaxScanDurationEnabled": false,
"MaxDynamicSignatures": 60,
"MaxScanDuration": 48,
"Scope": "EnteredPathAndBelow",
"SubPathMaxDynamicSignatures": 30,
"UrlRewriteAnalyzableExtensions": "htm,html",
"UrlRewriteBlockSeparators": "/$.,;|:",
"UrlRewriteMode": "Heuristic",
"UrlRewriteRules": [
{
"PlaceholderPattern": "/blog/{category}/{title}"
}
],
"DoNotDifferentiateProtocols": true
}