Skip to content

Commit 2149cc2

Browse files
committed
post import, fixing one product at a time starting with 1secure
1 parent 38b15a4 commit 2149cc2

File tree

6,159 files changed

+31912
-31305
lines changed

Some content is hidden

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

6,159 files changed

+31912
-31305
lines changed

ADD_NEW_PRODUCT.md

Lines changed: 0 additions & 111 deletions
This file was deleted.

build-product.js

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
#!/usr/bin/env node
2+
// Script to build individual products for testing
3+
4+
const fs = require('fs');
5+
const path = require('path');
6+
const { execSync } = require('child_process');
7+
8+
const productsConfigPath = path.join(__dirname, 'docusaurus.config.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-product.js <product-name>');
15+
console.log('Available products:');
16+
console.log(' - 1secure');
17+
console.log(' - accessanalyzer');
18+
console.log(' - accessinformationcenter');
19+
console.log(' - activitymonitor');
20+
console.log(' - auditor');
21+
console.log(' - changetracker');
22+
console.log(' - dataclassification');
23+
console.log(' - groupid');
24+
console.log(' - passwordpolicyenforcer');
25+
console.log(' - passwordreset');
26+
console.log(' - passwordsecure');
27+
console.log(' - policypak');
28+
console.log(' - privilegesecure');
29+
console.log(' - recoveryforactivedirectory');
30+
console.log(' - strongpointfornetsuite');
31+
console.log(' - strongpointforsalesforce');
32+
console.log(' - strongpointnetsuiteflashlight');
33+
console.log(' - strongpointsalesforceflashlight');
34+
console.log(' - threatmanager');
35+
console.log(' - threatprevention');
36+
console.log(' - usercube');
37+
console.log(' - usercube_saas');
38+
process.exit(1);
39+
}
40+
41+
// Read the products config file
42+
let configContent = fs.readFileSync(productsConfigPath, 'utf8');
43+
44+
// Update the PRODUCTS object to enable only the selected product
45+
const productsRegex = /const PRODUCTS = {[\s\S]*?};/;
46+
const currentProducts = configContent.match(productsRegex)[0];
47+
48+
// Parse the current state
49+
const productStates = {};
50+
const lines = currentProducts.split('\n');
51+
lines.forEach(line => {
52+
const match = line.match(/^\s*'([^']+)':\s*(true|false),?$/);
53+
if (match) {
54+
productStates[match[1]] = false; // Set all to false
55+
}
56+
});
57+
58+
// Enable only the selected product
59+
if (productStates.hasOwnProperty(product)) {
60+
productStates[product] = true;
61+
} else {
62+
console.error(`Error: Product '${product}' not found!`);
63+
process.exit(1);
64+
}
65+
66+
// Build the new PRODUCTS object
67+
let newProductsObj = 'const PRODUCTS = {\n';
68+
Object.entries(productStates).forEach(([name, enabled]) => {
69+
newProductsObj += ` '${name}': ${enabled},\n`;
70+
});
71+
newProductsObj += '};';
72+
73+
// Replace in the config
74+
configContent = configContent.replace(productsRegex, newProductsObj);
75+
76+
// Write back the updated config
77+
fs.writeFileSync(productsConfigPath, configContent);
78+
79+
console.log(`\nBuilding documentation for: ${product}`);
80+
console.log('This will show only errors specific to this product.\n');
81+
82+
try {
83+
// Run the build with the modular config
84+
execSync('npm run build -- --config ./docusaurus.config.modular.js', {
85+
stdio: 'inherit',
86+
cwd: __dirname
87+
});
88+
console.log(`\n✅ Build completed successfully for ${product}!`);
89+
} catch (error) {
90+
console.log(`\n❌ Build failed for ${product}. Check the errors above.`);
91+
process.exit(1);
92+
}

docs/1secure/1secure/admin/alerts/alerts.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ When you create an alert profile, several alerts are preconfigured for it. You c
44

55
You can access the generated alerts in the following ways:
66

7-
- View the alerts generated for an organization on the Netwrix 1Secure dashboard. See the [1Secure Dashboard](/docs/product_docs/1secure/1secure/admin/dashboard/overview.md) topic for additional information.
8-
- Receive alerts as email notifications sent to the specified email address(es). See the [Manage Delivery Settings for an Alert Profile ](/docs/product_docs/1secure/1secure/admin/alerts/overview.md#Manage-Delivery-Settings-for-an-Alert-Profile)topic for setting up email notifications.
7+
- View the alerts generated for an organization on the Netwrix 1Secure dashboard. See the [1Secure Dashboard](/docs/1secure/1secure/admin/dashboard/overview.md) topic for additional information.
8+
- Receive alerts as email notifications sent to the specified email address(es). See the [Manage Delivery Settings for an Alert Profile ](/docs/1secure/1secure/admin/alerts/overview.md#Manage-Delivery-Settings-for-an-Alert-Profile)topic for setting up email notifications.
99

1010
Follow the steps to view the alerts within an alert profile.
1111

1212
__Step 1 –__ Navigate to Configuration > Alerts.
1313

1414
__Step 2 –__ Click an alert profile. The alerts for the profile are displayed in a list.
1515

16-
![Alerts List within an alert profile](/static/img/product_docs/1secure/1secure/admin/alerts/alertslist.png)
16+
![Alerts List within an alert profile](/img/product_docs/1secure/1secure/admin/alerts/alertslist.png)
1717

1818
You can view the following for each alert in the list:
1919

@@ -35,9 +35,9 @@ __Step 2 –__ Click an alert profile. The alerts for the profile are displayed
3535

3636
__Step 3 –__ Click __Add__. The New Alert pane is displayed.
3737

38-
![New Alert Pane](/static/img/product_docs/1secure/1secure/admin/alerts/addcustomalert.png)
38+
![New Alert Pane](/img/product_docs/1secure/1secure/admin/alerts/addcustomalert.png)
3939

40-
__Step 4 –__ Select a custom report from the Report drop-down menu to trigger the alert when a new record is generated for the report. See the [ Custom Reports](/docs/product_docs/1secure/1secure/admin/searchandreports/customreports.md) topic for additional information.
40+
__Step 4 –__ Select a custom report from the Report drop-down menu to trigger the alert when a new record is generated for the report. See the [ Custom Reports](/docs/1secure/1secure/admin/searchandreports/customreports.md) topic for additional information.
4141

4242
__Step 5 –__ Specify a name and description for the alert.
4343

docs/1secure/1secure/admin/alerts/overview.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Alert profiles provide a way to easily group alert configurations and delivery n
44

55
To view the alert profiles, navigate to Configuration > Alerts.
66

7-
![Alert Profiles List](/static/img/product_docs/1secure/1secure/admin/alerts/alertsprofiles.png)
7+
![Alert Profiles List](/img/product_docs/1secure/1secure/admin/alerts/alertsprofiles.png)
88

99
Alert profiles are displayed in the list with the following information:
1010

@@ -23,14 +23,14 @@ __Step 1 –__ Navigate to Configuration > Alerts.
2323

2424
__Step 2 –__ Click __Add profile__. The New alert profile pane is displayed.
2525

26-
![New Alert Profile pane](/static/img/product_docs/1secure/1secure/admin/alerts/addalertprofile.png)
26+
![New Alert Profile pane](/img/product_docs/1secure/1secure/admin/alerts/addalertprofile.png)
2727

2828
__Step 3 –__ Enter a name for the alert profile in the Name field and click __Save__.
2929

3030
The alert profile is added to the list. You can:
3131

32-
- Assign this profile to an organization. You can do this when creating a new organization or editing an organization. See the [Add Organizations](/docs/product_docs/1secure/1secure/admin/organizations/addorganizations.md) topic for additional information.
33-
- Click the profile to review the list of alerts, enable the desired alerts, make necessary edits for alerts, and set delivery settings for the alert profile. See the [Alerts](/docs/product_docs/1secure/1secure/admin/alerts/alerts.md) topic for additional information.
32+
- Assign this profile to an organization. You can do this when creating a new organization or editing an organization. See the [Add Organizations](/docs/1secure/1secure/admin/organizations/addorganizations.md) topic for additional information.
33+
- Click the profile to review the list of alerts, enable the desired alerts, make necessary edits for alerts, and set delivery settings for the alert profile. See the [Alerts](/docs/1secure/1secure/admin/alerts/alerts.md) topic for additional information.
3434

3535
## Modify the Name of an Alert Profile
3636

@@ -69,7 +69,7 @@ __Step 2 –__ Click an alert profile. The alerts for the profile are displayed
6969

7070
__Step 3 –__ Click the Email icon under Delivery Settings. The Email Delivery Settings pane is displayed.
7171

72-
![Email Delivery Settings pane](/static/img/product_docs/1secure/1secure/admin/alerts/alertsemaildelivery.png)
72+
![Email Delivery Settings pane](/img/product_docs/1secure/1secure/admin/alerts/alertsemaildelivery.png)
7373

7474
__Step 4 –__ . Toggle the Enabled switch to ON to enable email notifications for the alert profile.
7575

@@ -79,4 +79,4 @@ __Step 6 –__ Check the __Email Organization Admins__ check box to send the ale
7979

8080
__Step 7 –__ Click Save.
8181

82-
You may also link to a third-party ticketing system. See the [Third-party systems](/docs/product_docs/1secure/1secure/integration/overview.md) topic for additional information.
82+
You may also link to a third-party ticketing system. See the [Third-party systems](/docs/1secure/1secure/integration/overview.md) topic for additional information.

docs/1secure/1secure/admin/dashboard/alertstimeline.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ To access the Alerts Timeline page, click __Home__ at the top and do one of the
88
- On the Top 5 Triggered Alerts by Type chart, click a bar. It opens the Alerts Timeline page that displays alert-related data for all managed organizations.
99
- In the organizations list, click an organization name to navigate to the Organization Statistics page, then click the Alerts Timeline chart. It opens the Alerts Timeline page that displays alert-related data for the organization selected in the organizations list.
1010

11-
![Alerts Timeline Page](/static/img/product_docs/1secure/1secure/admin/dashboard/alertstimeline.png)
11+
![Alerts Timeline Page](/img/product_docs/1secure/1secure/admin/dashboard/alertstimeline.png)
1212

1313
If you are a managed organization user, this page displays insights specific to your organization.
1414

@@ -39,13 +39,13 @@ This section lists all the triggered alerts with the following information:
3939
- Num activity records – Displays the number of activity records associated with the triggered alert, based on the threshold value set for it. The threshold is the minimum number of activity records that must occur within a specified time frame (threshold period) to trigger an alert.
4040
- Last updated – Displays the date and time when the alert is triggered, based on the threshold value set for it. The threshold is the minimum number of activity records that must occur within a specified time frame (threshold period) to trigger an alert.last updated.
4141
- Item – Displays the name of the entity by which the alert is grouped, such as a computer, file, user, etc.
42-
- Activity Records – Click the Activity Records link for an alert to navigate to the Activity page, where you can view a detailed report for that alert type. See the [Activity Reports](/docs/product_docs/1secure/1secure/admin/searchandreports/activity.md) topic for additional information.
42+
- Activity Records – Click the Activity Records link for an alert to navigate to the Activity page, where you can view a detailed report for that alert type. See the [Activity Reports](/docs/1secure/1secure/admin/searchandreports/activity.md) topic for additional information.
4343

4444
Click a column header to sort data in the alerts list by that column in ascending order. An arrow appears next to the column name to indicate the sort order. Click the column header again to sort the data in descending order.
4545

4646
Edit Alerts Settings
4747

48-
Click the __Edit Alerts Settings__ link to navigate to the Alerts page, where you can create a new alert and modify existing ones. See the [Alerts](/docs/product_docs/1secure/1secure/admin/alerts/alerts.md) topic for additional information.
48+
Click the __Edit Alerts Settings__ link to navigate to the Alerts page, where you can create a new alert and modify existing ones. See the [Alerts](/docs/1secure/1secure/admin/alerts/alerts.md) topic for additional information.
4949

5050
## Filter Data
5151

0 commit comments

Comments
 (0)