Skip to content

Commit 77c85f3

Browse files
authored
Merge pull request #5 from netwrix/dev
Dev
2 parents 0c47093 + cbb730a commit 77c85f3

File tree

12,653 files changed

+283047
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

12,653 files changed

+283047
-24
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# Generated files
55
.docusaurus
66
.cache-loader
7+
build
8+
claude_logs
79

810
# Misc
911
.DS_Store

build-versioned-product.js

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
#!/usr/bin/env node
2+
// Script to build individual versioned products for testing
3+
4+
const fs = require('fs');
5+
const path = require('path');
6+
const { execSync } = require('child_process');
7+
8+
const versionedProductsConfigPath = path.join(__dirname, 'docusaurus.config.versioned-products.js');
9+
10+
// Get product name from command line
11+
const product = process.argv[2];
12+
13+
if (!product) {
14+
console.log('Usage: node build-versioned-product.js <versioned-product-name>');
15+
console.log('Available versioned products:');
16+
console.log(' - accessinformationcenter_11.6');
17+
console.log(' - activitymonitor_7.1');
18+
console.log(' - auditor_10.6');
19+
console.log(' - changetracker_8.0');
20+
console.log(' - dataclassification_5.6.2');
21+
console.log(' - endpointprotector_5.9.4');
22+
console.log(' - enterpriseauditor_11.6');
23+
console.log(' - groupid_11.0');
24+
console.log(' - passwordpolicyenforcer_10.2');
25+
console.log(' - passwordreset_3.23');
26+
console.log(' - passwordsecure_9.1');
27+
console.log(' - privilegesecure_4.1');
28+
console.log(' - privilegesecurefordiscovery_2.21');
29+
console.log(' - threatprevention_7.4');
30+
console.log(' - usercube_6.1');
31+
process.exit(1);
32+
}
33+
34+
// Read the versioned products config file
35+
let configContent = fs.readFileSync(versionedProductsConfigPath, 'utf8');
36+
37+
// Update the VERSIONED_PRODUCTS object to enable only the selected product
38+
const versionedProductsRegex = /const VERSIONED_PRODUCTS = {[\s\S]*?};/;
39+
const currentVersionedProducts = configContent.match(versionedProductsRegex)[0];
40+
41+
// Parse the current state
42+
const versionedProductStates = {};
43+
const lines = currentVersionedProducts.split('\n');
44+
lines.forEach(line => {
45+
const match = line.match(/^\s*'([^']+)':\s*(true|false),?$/);
46+
if (match) {
47+
versionedProductStates[match[1]] = false; // Set all to false
48+
}
49+
});
50+
51+
// Enable only the selected product
52+
if (versionedProductStates.hasOwnProperty(product)) {
53+
versionedProductStates[product] = true;
54+
} else {
55+
console.error(`Error: Versioned product '${product}' not found!`);
56+
process.exit(1);
57+
}
58+
59+
// Build the new VERSIONED_PRODUCTS object
60+
let newVersionedProductsObj = 'const VERSIONED_PRODUCTS = {\n';
61+
Object.entries(versionedProductStates).forEach(([name, enabled]) => {
62+
newVersionedProductsObj += ` '${name}': ${enabled},\n`;
63+
});
64+
newVersionedProductsObj += '};';
65+
66+
// Replace in the config
67+
configContent = configContent.replace(versionedProductsRegex, newVersionedProductsObj);
68+
69+
// Write back the updated config
70+
fs.writeFileSync(versionedProductsConfigPath, configContent);
71+
72+
console.log(`\nBuilding versioned documentation for: ${product}`);
73+
console.log('This will show only errors specific to this versioned product.\n');
74+
75+
try {
76+
// Run the build with the versioned modular config
77+
execSync('npm run build -- --config ./docusaurus.config.versioned-modular.js', {
78+
stdio: 'inherit',
79+
cwd: __dirname
80+
});
81+
console.log(`\n✅ Build completed successfully for versioned product ${product}!`);
82+
} catch (error) {
83+
console.log(`\n❌ Build failed for versioned product ${product}. Check the errors above.`);
84+
process.exit(1);
85+
}

docs/auditor/auditor/configuration/fileservers/nutanix/notificationpolicy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ _`<LIST_OF_FILE_OPERATIONS>`_ - enter the list of operations to be audited.
9494
7. Get the response - ```Response Code``` should be _200_. In the response body, locate the ```uuid``` of the created notification policy.
9595
8. To check that a new policy was included in the list of existing policies, retrieve the list of policies, sending the POST request to the following endpoint:
9696

97-
```POST /notification_policies/list```. The request body must be empty - for that, enter empty brackets as the __value__ for _get_entities_request_ parameter : ```{ }```
97+
```POST /notification_policies/list```. The request body must be empty - for that, enter empty brackets as the __value__ for _get_entities_request_ parameter : ``{ }``
9898

9999
## Auditing Specific Folders
100100

docs/auditor/auditor/configuration/fileservers/nutanix/partnerserver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ This address must be visible from the Nutanix File Server network.
8080

8181
`POST /partner_servers/list`
8282

83-
The request body must be empty - for that, enter empty brackets as the __value__ for _get_entities_request_ parameter: ```{ }```
83+
The request body must be empty - for that, enter empty brackets as the __value__ for _get_entities_request_ parameter: ``{ }``
8484

8585
![api_partner_server_resquest_thumb_0_0](/img/product_docs/auditor/auditor/configuration/fileservers/nutanix/api_partner_server_resquest_thumb_0_0.webp)
8686

docs/passwordpolicyenforcer/passwordreset/administration/persuading_users_to_enroll.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ There are three possible responses:
3434

3535
| Response | Meaning |
3636
| --- | --- |
37-
| ```{"isEnrolled": true}``` | User is enrolled |
38-
| ```{"isEnrolled": false}``` | User is not enrolled or does not exist |
37+
| ``{"isEnrolled": true}`` | User is enrolled |
38+
| ``{"isEnrolled": false}`` | User is not enrolled or does not exist |
3939
| ```{}``` | System maintenance is running |
4040

4141
The API may also return one of these HTTP errors:

docs/passwordreset/passwordreset/administration/persuading_users_to_enroll.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ There are three possible responses:
3838

3939
| Response | Meaning |
4040
| --- | --- |
41-
| ```{"isEnrolled": true}``` | User is enrolled |
42-
| ```{"isEnrolled": false}``` | User is not enrolled or does not exist |
41+
| ``{"isEnrolled": true}`` | User is enrolled |
42+
| ``{"isEnrolled": false}`` | User is not enrolled or does not exist |
4343
| ```{}``` | System maintenance is running |
4444

4545
The API may also return one of these HTTP errors:

docs/passwordsecure/passwordsecure/configuration/advanced_view/clientmodule/organisationalstructures/firstfactor/first_factor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The configuration is done via the user setting __First factor__.
2121
NOTE: This option is only valid for users in master key mode
2222

2323
__CAUTION:__ Be Aware"
24-
The smartcard logon tries to determine whether the certificate belongs to the user to be logged on based on the applicant in the smartcard certificate. This is done using regex, the default regex ```^{username}[.@\\/-_:]({domain})$``` or ```^({domain})[.@\\/-_:]({username})$``` is applied to the applicant. In this case, ```{username}``` is replaced with the user to be registered and ```{domain}``` is replaced with the domain in the AD profile in the regex and if the regex query is positive, the user is registered. If the format of your applicant in your certificates is not compatible with these two regex queries, you must set a custom regex query in the Server Manager. Please note that ```{username}``` for username and ```{domain}``` for the AD domain SHOULD be present in the regex query. If the domain must be explicitly specified, it must be written in capital letters.
24+
The smartcard logon tries to determine whether the certificate belongs to the user to be logged on based on the applicant in the smartcard certificate. This is done using regex, the default regex ```^{username}[.@\\/-_:]({domain})$``` or ```^({domain})[.@\\/-_:]({username})$``` is applied to the applicant. In this case, ``{username}`` is replaced with the user to be registered and ``{domain}`` is replaced with the domain in the AD profile in the regex and if the regex query is positive, the user is registered. If the format of your applicant in your certificates is not compatible with these two regex queries, you must set a custom regex query in the Server Manager. Please note that ``{username}`` for username and ``{domain}`` for the AD domain SHOULD be present in the regex query. If the domain must be explicitly specified, it must be written in capital letters.
2525

2626
In addition, the smartcard certificate must of course also be valid on the server!
2727

docs/policypak/policypak/applicationsettings/variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ You can use any value name from the following key and use it as an environment v
88

99
But when you're using Endpoint Policy Manager Application Settings Manager, you can specify ```%desktop%\SomeFile.ini``` or ```%desktop%\SomeFile.rdp```. This is done the same way for Favorites; you can specify %favorites% (or any other Registry value name from that key) in both the DesignStudio and the MMC.
1010

11-
As an extra tip, you should use ```%{374DE290-123F-4565-9164-39C4925E467B}%``` for downloads instead of %Downloads%. That's because the Registry value name for that folder is actually the odd name of ```{374DE290-123F-4565-9164-39C4925E467B}```.
11+
As an extra tip, you should use ```%{374DE290-123F-4565-9164-39C4925E467B}%``` for downloads instead of %Downloads%. That's because the Registry value name for that folder is actually the odd name of ``{374DE290-123F-4565-9164-39C4925E467B}``.
1212

1313
Endpoint Policy Manager also supports the use of variables such as ```%USERPROFILE%\Favorites``` or ```%USERPROFILE%\Downloads```. When you use this, the variable will expand to something similar to``` C:\Users\Jake. Therefore```, the paths for ```%USERPROFILE%\Favorites``` and ```%USERPROFILE%\ Downloads``` should resolve (by default) to ```C:\Users\Jake\Favorites and C:\Users\Jake\Downloads```. That being said, there is no guarantee that the downloads will be redirected to another volume or even to a network share.
1414

docs/policypak/policypak/javaenterpriserules/prompts/internetexplorer/message3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To make this prompt automatically never occur again, use Group Policy Preference
2020
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{GUID}
2121
```
2222

23-
where ```{GUID}``` is `{GUID}` for @the latest version of Java on your machine. Then set the registry values as shown in the table below:
23+
where ``{GUID}`` is `{GUID}` for @the latest version of Java on your machine. Then set the registry values as shown in the table below:
2424

2525
| Registry Values | Type | Description | Notes |
2626
| --- | --- | --- | --- |

docs/policypak/policypak/troubleshooting/javaenterpriserules/javaprompts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ You can automatically make this prompt never occur again (automatically) using G
122122
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\`{GUID}`
123123
```
124124

125-
Where ```{GUID}``` is `{GUID}` for @the latest version of Java on your machine
125+
Where ``{GUID}`` is `{GUID}` for @the latest version of Java on your machine
126126

127127
And set the following values:
128128

0 commit comments

Comments
 (0)