You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/exporting/export-html.md
+26-9Lines changed: 26 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The HTML report is entirely independent of the JSON or CSV report. As a result,
26
26
27
27
## Exporting options
28
28
29
-
Monkey365 HTML reports uses CDN (jsDelivr) to load assets by default. The base [configuration](../configuration/configuration-file.md) is as follows:
29
+
Monkey365 HTML reports use the `jsDelivr` CDN to load resources directly from GitHub. By default, `htmlReportFromCDN` is set to `true`, and the `assetsRepository` property points to the standard assets repository at https://github.com/silverhack/monkey365assets. The base [configuration](../configuration/configuration-file.md) is structured as follows:
30
30
31
31
```json
32
32
"htmlSettings": {
@@ -39,19 +39,36 @@ Monkey365 HTML reports uses CDN (jsDelivr) to load assets by default. The base [
39
39
"htmlReportFromCDN": "true"
40
40
},
41
41
```
42
-
As an alternative, you can enable the legacy mode, which will download a local copy of all the assets and set local links within the report.
42
+
43
+
As an alternative, you can enable the legacy UNC mode. This mode downloads a local copy of all required assets and updates the report to use local links. To activate it, specify a local or UNC path in the `assetsPath` property and set `enabled` to `true`.
43
44
44
45
???+ note
45
46
Downloading assets significantly increases the size of a report. The size can exceed 20MB.
46
47
47
48
### In-House CDN
48
49
49
-
There is an option to use an in-house CDN by configuring CDN URL via `assetsRepository` property (defaults to https://github.com/silverhack/monkey365assets).
50
+
There is an option to use an in-house CDN by configuring your own GitHub repository via `assetsRepository` property (defaults to https://github.com/silverhack/monkey365assets).
50
51
51
52
* Download assets via GitHub
52
53
* Unpack it and upload files into your CDN (e.g. private GitHub repository)
53
54
* Set the `assetsRepository`property to new CDN link
54
55
56
+
### Local Server
57
+
58
+
Monkey365 can also serve static HTML assets (CSS, JavaScript, images, fonts, and more) through a dedicated local web server endpoint rather than loading them from GitHub. To enable this option, set the assetsPath property to the base URL where the static assets are hosted.
A [ruleset](../security_checks/overview.md) allows you to organize multiple rules that work towards a common goal. These rulesets represent your governance rules that you want Monkey365 to analyze for you. Monkey365 will alert you when a rule is violated.
@@ -122,7 +139,7 @@ In the above example, this will result in the data being rendered in a single ta
122
139
123
140

124
141
125
-
### Normal Table
142
+
### Default Table
126
143
127
144
In this example, the following code that was extracted from the <ahref='https://github.com/silverhack/monkey365/blob/main/rules/findings/Azure/Storage%20Accounts/CIS1.4/azure-storage-accounts-https-traffic-enabled.json'target='_blank'>azure-storage-accounts-https-traffic-enabled.json</a> Monkey365 rule is used to render data for *Storage accounts missing key rotation* finding into a default table.
128
145
@@ -137,7 +154,7 @@ In this example, the following code that was extracted from the <a href='https:/
137
154
},
138
155
"expandObject": null
139
156
},
140
-
"table": "Normal",
157
+
"table": "default",
141
158
"decorate": [
142
159
143
160
],
@@ -170,11 +187,11 @@ Table elements can be configured to show raw data on Bootstrap Modal. In order t
170
187
}
171
188
}
172
189
```
173
-
The above example will result in the data being rendered in a single table formatted as normal table, and a modal button in last column.
190
+
The above example will result in the data being rendered in a single table formatted as default table, and a modal button in last column.
174
191
175
192

176
193
177
-
**Note** This feature is only supported in tables formatted as a ```Normal``` table.
194
+
**Note** This feature is only supported in tables formatted as a ```default``` table.
178
195
179
196
<!--
180
197
@@ -200,10 +217,10 @@ Table elements can be configured to add a direct link to the Azure console secti
200
217
}
201
218
}
202
219
```
203
-
The above example will result in the data being rendered in a single table formatted as normal table, and a direct link button in last column.
220
+
The above example will result in the data being rendered in a single table formatted as default table, and a direct link button in last column.
204
221
205
222

206
223
207
-
**Note** This feature is only supported in tables formatted as a ```Normal``` table. Please, also note that since this feature is experimental, we welcome your feedback.
224
+
**Note** This feature is only supported in tables formatted as a ```default``` table. Please, also note that since this feature is experimental, we welcome your feedback.
0 commit comments