-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstructure.py
More file actions
52 lines (51 loc) · 1.44 KB
/
structure.py
File metadata and controls
52 lines (51 loc) · 1.44 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
from datetime import datetime, timezone
def get_struct_report_file() -> dict:
empty_structure = {
"metadata": {
"analysis_id": "",
"started_at": datetime.now(timezone.utc).isoformat(),
"finished_at": None,
"status": "pending"
},
"target": {
"domain": "",
"subdomain": "",
"modulename": "",
"full_url": "",
"module_version_hash": "",
"real_dns":"",
"applicationName": "",
"applicationKey": "",
"environmentName": "",
"environmentKey": "",
"homeModuleName": "",
"homeModuleKey": "",
"userTenantProvider": "",
"react_version":"",
"cloudconnect_version":""
},
"security_headers": {},
"appscreens":[],
"dependencies":[],
"resources":[],
"references_health":[],
"client_variables":[],
"mobile_apps":[],
"platform_info":{},
"platform_capabilities":[],
"installation_info":{},
"handshake_properties":[],
"external_authentication":{},
"endpoints":[],
"runtime_csrf": {},
"runtime_endpoints": [],
"native_integration": {},
"screens_detail":[],
"appscreensRequests":[],
"roles":[],
"interaction_xhr_analysis":[],
"vulnerabilities": [],
"custom_js_findings": [],
"secret_scanner": []
}
return empty_structure