@velaro/cli 1.4.250 → 1.4.251

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/velaro.js CHANGED
@@ -30,6 +30,7 @@ import { aiConfigCommand } from '../lib/commands/ai-config.js';
30
30
  import { updateCommand } from '../lib/commands/update.js';
31
31
  import { agentCommand } from '../lib/commands/agent.js';
32
32
  import { linkedIdentityCommand } from '../lib/commands/linked-identity.js';
33
+ import { securityCatalogCommand } from '../lib/commands/security-catalog.js';
33
34
  import { notificationsCommand } from '../lib/commands/notifications.js';
34
35
  import { signatureCommand } from '../lib/commands/signature.js';
35
36
  import { articleCommand } from '../lib/commands/article.js';
@@ -198,6 +199,7 @@ await (registerStaffCommands ? registerStaffCommands(baseYargs) : baseYargs)
198
199
  .command(updateCommand)
199
200
  .command(agentCommand)
200
201
  .command(linkedIdentityCommand)
202
+ .command(securityCatalogCommand)
201
203
  .command(notificationsCommand)
202
204
  .command(signatureCommand)
203
205
  .command(articleCommand)
@@ -0,0 +1,24 @@
1
+ import { get } from '../api.js';
2
+ import { runCommand } from '../run.js';
3
+
4
+ export const securityCatalogCommand = {
5
+ command: 'security-catalog',
6
+ describe: 'List every security and compliance setting with its level (included / Professional / Enterprise) and default retention per level',
7
+ builder: (yargs) => yargs,
8
+ handler: runCommand(async () => {
9
+ const c = await get('/Entitlements/security-catalog');
10
+ if (!c || !Array.isArray(c.items)) {
11
+ throw new Error('Failed to load the security catalog.');
12
+ }
13
+ for (const g of c.groups ?? []) {
14
+ console.log(`\n${g.label} (${g.page})`);
15
+ for (const i of c.items.filter((x) => x.group === g.id)) {
16
+ console.log(` [${i.level}] ${i.label}`);
17
+ }
18
+ }
19
+ console.log('\nDefault retention in days (basic / standard / enterprise)');
20
+ for (const r of c.retentionDefaults ?? []) {
21
+ console.log(` ${r.label}: ${r.basicDays ?? 'you choose'} / ${r.standardDays ?? 'you choose'} / ${r.enterpriseDays ?? 'you choose'}`);
22
+ }
23
+ }),
24
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velaro/cli",
3
- "version": "1.4.250",
3
+ "version": "1.4.251",
4
4
  "description": "Velaro Workspace v20 — command-line interface for managing bots, knowledge base ingestion, MCP API keys, search indexes, and ops health.",
5
5
  "type": "module",
6
6
  "bin": {