CLI commands
Every command below maps to one GraphQL operation, and the CLI builds its flags from that operation's input. Run vulnara <command> --help for the same list locally.
Flags on every generated command
| Name | Type | Description |
|---|---|---|
| --tenant | string | Run against this workspace instead of the default one |
| --output | string | Write the raw JSON response to a file instead of stdout |
Setup
vulnara add_to_path
Add the vulnara binary to the PATH in the shell profiles that already exist.
No flags.
vulnara completion
Generate and install shell completion for bash or fish.
No flags.
vulnara login
Sign in through the browser. Starts a local callback server on a port between 10000 and 10010 and times out after 3 minutes.
No flags.
vulnara set_default_tenant
Remember the workspace every later command runs against.
| Name | Type | Description |
|---|---|---|
| --tenantRequired | string | Workspace id |
Read
vulnara get_git_entity
Runs query gitEntity.
GraphQL operation: gitEntity
| Name | Type | Description |
|---|---|---|
| --idRequired | string | Id of the item |
vulnara get_git_entity --id <id>vulnara get_git_token
Runs query gitToken.
GraphQL operation: gitToken
| Name | Type | Description |
|---|---|---|
| --idRequired | string | Id of the item |
vulnara get_git_token --id <id>vulnara get_network
Runs query network.
GraphQL operation: network
| Name | Type | Description |
|---|---|---|
| --idRequired | string | Id of the item |
vulnara get_network --id <id>vulnara get_network_scan_result
Runs query networkScanResult.
GraphQL operation: networkScanResult
| Name | Type | Description |
|---|---|---|
| --idRequired | string | Id of the item |
vulnara get_network_scan_result --id <id>vulnara get_notification_scope
Runs query notificationScope.
GraphQL operation: notificationScope
- argument notificationScopeId is not accepted by the gateway
| Name | Type | Description |
|---|---|---|
| --notificationScopeIdRequired | string |
vulnara get_notification_scope --notificationScopeId <notificationScopeId>vulnara get_repository
Runs query repository.
GraphQL operation: repository
| Name | Type | Description |
|---|---|---|
| --idRequired | string | Id of the item |
vulnara get_repository --id <id>vulnara get_scan_result
Runs query scanResult.
GraphQL operation: scanResult
| Name | Type | Description |
|---|---|---|
| --idRequired | string | Id of the item |
vulnara get_scan_result --id <id>vulnara git_entities
Runs query gitEntities.
GraphQL operation: gitEntities
| Name | Type | Description |
|---|---|---|
| --filters | strings | field=value, repeatable |
| --limit | int | |
| --order | string | |
| --search | string | |
| --skip | int | |
| --sort | string |
vulnara git_entities --limit 20vulnara git_tokens
Runs query gitTokens.
GraphQL operation: gitTokens
| Name | Type | Description |
|---|---|---|
| --filters | strings | field=value, repeatable |
| --limit | int | |
| --order | string | |
| --search | string | |
| --skip | int | |
| --sort | string |
vulnara git_tokens --limit 20vulnara network_scan_findings
Runs query networkScanFindings.
GraphQL operation: networkScanFindings
| Name | Type | Description |
|---|---|---|
| --filters | strings | field=value, repeatable |
| --limit | int | |
| --order | string | |
| --search | string | |
| --skip | int | |
| --sort | string |
vulnara network_scan_findings --limit 20vulnara network_scan_results
Runs query networkScanResults.
GraphQL operation: networkScanResults
| Name | Type | Description |
|---|---|---|
| --filters | strings | field=value, repeatable |
| --limit | int | |
| --order | string | |
| --search | string | |
| --skip | int | |
| --sort | string |
vulnara network_scan_results --limit 20vulnara networks
Runs query networks.
GraphQL operation: networks
| Name | Type | Description |
|---|---|---|
| --filters | strings | field=value, repeatable |
| --limit | int | |
| --order | string | |
| --search | string | |
| --skip | int | |
| --sort | string |
vulnara networks --limit 20vulnara notification_scopes
Runs query notificationScopes.
GraphQL operation: notificationScopes
| Name | Type | Description |
|---|---|---|
| --filters | strings | field=value, repeatable |
| --limit | int | |
| --order | string | |
| --search | string | |
| --skip | int | |
| --sort | string |
vulnara notification_scopes --limit 20vulnara programming_languages
Runs query programmingLanguages.
GraphQL operation: programmingLanguages
| Name | Type | Description |
|---|---|---|
| -f, --filters | strings | field=value, repeatable |
vulnara programming_languagesvulnara repositories
Runs query repositories.
GraphQL operation: repositories
| Name | Type | Description |
|---|---|---|
| --filters | strings | field=value, repeatable |
| --limit | int | |
| --order | string | |
| --search | string | |
| --skip | int | |
| --sort | string |
vulnara repositories --limit 20vulnara repository_dependency_scan_findings
Runs query repositoryDependencyScanFindings.
GraphQL operation: repositoryDependencyScanFindings
| Name | Type | Description |
|---|---|---|
| --filters | strings | field=value, repeatable |
| --limit | int | |
| --order | string | |
| --search | string | |
| --skip | int | |
| --sort | string |
vulnara repository_dependency_scan_findings --limit 20vulnara scan_findings
Runs query scanFindings.
GraphQL operation: scanFindings
| Name | Type | Description |
|---|---|---|
| --filters | strings | field=value, repeatable |
| --limit | int | |
| --order | string | |
| --search | string | |
| --skip | int | |
| --sort | string |
vulnara scan_findings --limit 20vulnara scan_results
Runs query scanResults.
GraphQL operation: scanResults
| Name | Type | Description |
|---|---|---|
| --filters | strings | field=value, repeatable |
| --limit | int | |
| --order | string | |
| --search | string | |
| --skip | int | |
| --sort | string |
vulnara scan_results --limit 20vulnara search_git_entities
Runs query gitEntities.
GraphQL operation: gitEntities
| Name | Type | Description |
|---|---|---|
| --filters | strings | field=value, repeatable |
| --limit | int | |
| --order | string | |
| --search | string | |
| --skip | int | |
| --sort | string |
vulnara search_git_entities --limit 20vulnara search_git_tokens
Runs query gitTokens.
GraphQL operation: gitTokens
| Name | Type | Description |
|---|---|---|
| --filters | strings | field=value, repeatable |
| --limit | int | |
| --order | string | |
| --search | string | |
| --skip | int | |
| --sort | string |
vulnara search_git_tokens --limit 20vulnara search_networks
Runs query networks.
GraphQL operation: networks
| Name | Type | Description |
|---|---|---|
| --filters | strings | field=value, repeatable |
| --limit | int | |
| --order | string | |
| --search | string | |
| --skip | int | |
| --sort | string |
vulnara search_networks --limit 20vulnara search_repositories
Runs query repositories.
GraphQL operation: repositories
| Name | Type | Description |
|---|---|---|
| --filters | strings | field=value, repeatable |
| --limit | int | |
| --order | string | |
| --search | string | |
| --skip | int | |
| --sort | string |
vulnara search_repositories --limit 20vulnara service_accounts
Runs query serviceAccounts.
GraphQL operation: serviceAccounts
| Name | Type | Description |
|---|---|---|
| -f, --filters | strings | field=value, repeatable |
vulnara service_accountsvulnara tasks
Runs query tasks.
GraphQL operation: tasks
| Name | Type | Description |
|---|---|---|
| -f, --filters | strings | field=value, repeatable |
vulnara tasksChange
vulnara associate_git_token_with_git_entity
Runs mutation associateGitTokenWithGitEntity.
GraphQL operation: associateGitTokenWithGitEntity
| Name | Type | Description |
|---|---|---|
| --gitEntityIdRequired | string | |
| --gitTokenIdRequired | string |
vulnara associate_git_token_with_git_entity --gitEntityId <gitEntityId> --gitTokenId <gitTokenId>vulnara cancel_task
Runs mutation cancelTask.
GraphQL operation: cancelTask
| Name | Type | Description |
|---|---|---|
| --idRequired | string | Id of the item |
vulnara cancel_task --id <id>vulnara create_git_entity
Runs mutation createGitEntity.
GraphQL operation: createGitEntity
- --type is not accepted by the gateway
- required input ownershipConsent has no flag
| Name | Type | Description |
|---|---|---|
| --gitTypeRequired | string | |
| --nameRequired | string | |
| --typeRequired | string |
vulnara create_git_entity --gitType <gitType> --name <name> --type <type>vulnara create_git_token
Runs mutation createGitToken.
GraphQL operation: createGitToken
| Name | Type | Description |
|---|---|---|
| --expiresAt | string | |
| --flagsRequired | strings | |
| --gitTokenTypeRequired | string | |
| --nameRequired | string | |
| --valueRequired | string |
vulnara create_git_token --flags <flags> --gitTokenType <gitTokenType> --name <name> --value <value>vulnara create_network
Runs mutation createNetwork.
GraphQL operation: createNetwork
- required input ownershipConsent has no flag
| Name | Type | Description |
|---|---|---|
| --nameRequired | string | |
| --networkRequired | string | |
| --networkTypeRequired | string |
vulnara create_network --name <name> --network <network> --networkType <networkType>vulnara create_notification_scope
Runs mutation createNotificationScope.
GraphQL operation: createNotificationScope
- --channelId is not accepted by the gateway
- required input channelIds has no flag
| Name | Type | Description |
|---|---|---|
| --channelIdRequired | string | |
| --channelTypeRequired | string | |
| --isActiveRequired | bool | |
| --scopesRequired | strings |
vulnara create_notification_scope --channelId <channelId> --channelType <channelType> --isActive <isActive> --scopes <scopes>vulnara create_repository
Runs mutation createRepository.
GraphQL operation: createRepository
- --githubUrl is not accepted by the gateway
| Name | Type | Description |
|---|---|---|
| --gitEntityIdRequired | string | |
| --githubUrl | string | |
| --repositoryNameRequired | string |
vulnara create_repository --gitEntityId <gitEntityId> --repositoryName <repositoryName>vulnara create_service_account
Runs mutation createServiceAccount.
GraphQL operation: createServiceAccount
| Name | Type | Description |
|---|---|---|
| --expiresAtRequired | string | |
| --nameRequired | string |
vulnara create_service_account --expiresAt <expiresAt> --name <name>vulnara create_tenant
Runs mutation createTenant.
GraphQL operation: createTenant
| Name | Type | Description |
|---|---|---|
| --nameRequired | string |
vulnara create_tenant --name <name>vulnara delete_git_entity
Runs mutation deleteGitEntity.
GraphQL operation: deleteGitEntity
| Name | Type | Description |
|---|---|---|
| --idRequired | string | Id of the item |
vulnara delete_git_entity --id <id>vulnara delete_git_token
Runs mutation deleteGitToken.
GraphQL operation: deleteGitToken
| Name | Type | Description |
|---|---|---|
| --idRequired | string | Id of the item |
vulnara delete_git_token --id <id>vulnara delete_network
Runs mutation deleteNetwork.
GraphQL operation: deleteNetwork
| Name | Type | Description |
|---|---|---|
| --idRequired | string | Id of the item |
vulnara delete_network --id <id>vulnara delete_network_scan_result
Runs mutation deleteNetworkScanResult.
GraphQL operation: deleteNetworkScanResult
| Name | Type | Description |
|---|---|---|
| --idRequired | string | Id of the item |
vulnara delete_network_scan_result --id <id>vulnara delete_notification_scope
Runs mutation deleteNotificationScope.
GraphQL operation: deleteNotificationScope
| Name | Type | Description |
|---|---|---|
| --idRequired | string | Id of the item |
vulnara delete_notification_scope --id <id>vulnara delete_repository
Runs mutation deleteRepository.
GraphQL operation: deleteRepository
| Name | Type | Description |
|---|---|---|
| --idRequired | string | Id of the item |
vulnara delete_repository --id <id>vulnara delete_scan_result
Runs mutation deleteScanResult.
GraphQL operation: deleteScanResult
| Name | Type | Description |
|---|---|---|
| --idRequired | string | Id of the item |
vulnara delete_scan_result --id <id>vulnara delete_service_account
Runs mutation deleteServiceAccount.
GraphQL operation: deleteServiceAccount
| Name | Type | Description |
|---|---|---|
| --idRequired | string | Id of the item |
vulnara delete_service_account --id <id>vulnara dissociate_git_token_with_git_entity
Runs mutation dissociateGitTokenWithGitEntity.
GraphQL operation: dissociateGitTokenWithGitEntity
| Name | Type | Description |
|---|---|---|
| --gitEntityIdRequired | string | |
| --gitTokenIdRequired | string |
vulnara dissociate_git_token_with_git_entity --gitEntityId <gitEntityId> --gitTokenId <gitTokenId>vulnara fetch_repositories
Runs mutation fetchRepositories.
GraphQL operation: fetchRepositories
| Name | Type | Description |
|---|---|---|
| --gitEntityIdRequired | string | |
| --gitTokenId | string |
vulnara fetch_repositories --gitEntityId <gitEntityId>vulnara request_nsf_consultation
Runs mutation requestNSFConsultation.
GraphQL operation: requestNSFConsultation
| Name | Type | Description |
|---|---|---|
| --findingIdRequired | string |
vulnara request_nsf_consultation --findingId <findingId>vulnara request_rsf_consultation
Runs mutation requestRSFConsultation.
GraphQL operation: requestRSFConsultation
| Name | Type | Description |
|---|---|---|
| --findingIdRequired | string |
vulnara request_rsf_consultation --findingId <findingId>vulnara set_service_account_active
Runs mutation setServiceAccountActive.
GraphQL operation: setServiceAccountActive
| Name | Type | Description |
|---|---|---|
| --idRequired | string | |
| --isActiveRequired | bool |
vulnara set_service_account_active --id <id> --isActive <isActive>vulnara start_network_scan
Runs mutation startNetworkScan.
GraphQL operation: startNetworkScan
| Name | Type | Description |
|---|---|---|
| --networkIdRequired | string |
vulnara start_network_scan --networkId <networkId>vulnara start_repository_scan
Runs mutation startRepositoryScan.
GraphQL operation: startRepositoryScan
| Name | Type | Description |
|---|---|---|
| --autoRemediate | bool | |
| --branch | string | |
| --createIssue | bool | |
| --dockerScanToolIdRequired | string | |
| --gitTokenId | string | |
| --repositoryIdRequired | string |
vulnara start_repository_scan --dockerScanToolId <dockerScanToolId> --repositoryId <repositoryId>vulnara transfer_git_entity
Runs mutation transferGitEntity.
GraphQL operation: transferGitEntity
| Name | Type | Description |
|---|---|---|
| --gitEntityIdRequired | string | |
| --newTenantRequired | string |
vulnara transfer_git_entity --gitEntityId <gitEntityId> --newTenant <newTenant>vulnara transfer_network
Runs mutation transferNetwork.
GraphQL operation: transferNetwork
| Name | Type | Description |
|---|---|---|
| --networkIdRequired | string | |
| --newTenantRequired | string |
vulnara transfer_network --networkId <networkId> --newTenant <newTenant>vulnara update_git_token
Runs mutation updateGitToken.
GraphQL operation: updateGitToken
| Name | Type | Description |
|---|---|---|
| --idRequired | string | |
| --name | string | |
| --value | string |
vulnara update_git_token --id <id>vulnara update_notification_scope
Runs mutation updateNotificationScope.
GraphQL operation: updateNotificationScope
- --channelId is not accepted by the gateway
| Name | Type | Description |
|---|---|---|
| --channelId | string | |
| --channelType | string | |
| --idRequired | string | |
| --isActive | bool | |
| --scopes | strings |
vulnara update_notification_scope --id <id>