Skip to content

Commit 1a65149

Browse files
committed
Use more requirements.json
1 parent b9ddf09 commit 1a65149

18 files changed

Lines changed: 299 additions & 251 deletions

requirements.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"quota": 1,
7373
"permissions": ["full-scans:create"]
7474
},
75-
"scan:delete": {
75+
"scan:del": {
7676
"quota": 1,
7777
"permissions": ["full-scans:delete"]
7878
},

src/commands/audit-log/cmd-audit-log.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import type { CliCommandConfig } from '../../utils/meow-with-subcommands.mts'
1717

1818
const { DRY_RUN_BAILING_NOW, SOCKET_WEBSITE_URL } = constants
1919

20-
const CMD_NAME = 'audit-log'
20+
export const CMD_NAME = 'audit-log'
2121

2222
const description = 'Look up the audit log for an organization'
2323

src/commands/organization/cmd-organization-dependencies.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import type { CliCommandConfig } from '../../utils/meow-with-subcommands.mts'
1616

1717
const { DRY_RUN_BAILING_NOW } = constants
1818

19-
const CMD_NAME = 'dependencies'
19+
export const CMD_NAME = 'dependencies'
2020

2121
const description =
2222
'Search for any dependency that is being used in your organization'

src/commands/organization/cmd-organization-policy-license.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import type { CliCommandConfig } from '../../utils/meow-with-subcommands.mts'
1717

1818
const { DRY_RUN_BAILING_NOW } = constants
1919

20-
const CMD_NAME = 'license'
20+
export const CMD_NAME = 'license'
2121

2222
const description = 'Retrieve the license policy of an organization'
2323

src/commands/repository/cmd-repository-create.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import type { CliCommandConfig } from '../../utils/meow-with-subcommands.mts'
1717

1818
const { DRY_RUN_BAILING_NOW } = constants
1919

20-
const CMD_NAME = 'create'
20+
export const CMD_NAME = 'create'
2121

2222
const description = 'Create a repository in an organization'
2323

src/commands/repository/cmd-repository-del.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import type { CliCommandConfig } from '../../utils/meow-with-subcommands.mts'
1717

1818
const { DRY_RUN_BAILING_NOW } = constants
1919

20-
const CMD_NAME = 'del'
20+
export const CMD_NAME = 'del'
2121

2222
const description = 'Delete a repository in an organization'
2323

src/commands/repository/cmd-repository-list.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import type { CliCommandConfig } from '../../utils/meow-with-subcommands.mts'
1717

1818
const { DRY_RUN_BAILING_NOW } = constants
1919

20-
const CMD_NAME = 'list'
20+
export const CMD_NAME = 'list'
2121

2222
const description = 'List repositories in an organization'
2323

src/commands/repository/cmd-repository-update.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import type { CliCommandConfig } from '../../utils/meow-with-subcommands.mts'
1717

1818
const { DRY_RUN_BAILING_NOW } = constants
1919

20-
const CMD_NAME = 'update'
20+
export const CMD_NAME = 'update'
2121

2222
const description = 'Update a repository in an organization'
2323

src/commands/repository/cmd-repository-view.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import type { CliCommandConfig } from '../../utils/meow-with-subcommands.mts'
1717

1818
const { DRY_RUN_BAILING_NOW } = constants
1919

20-
const CMD_NAME = 'view'
20+
export const CMD_NAME = 'view'
2121

2222
const description = 'View repositories in an organization'
2323

src/commands/scan/cmd-scan-create.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const {
3535
SOCKET_DEFAULT_REPOSITORY,
3636
} = constants
3737

38-
const CMD_NAME = 'create'
38+
export const CMD_NAME = 'create'
3939

4040
const description = 'Create a new Socket scan and report'
4141

0 commit comments

Comments
 (0)