Zum Hauptinhalt springen

CLI-Befehle

Jeder Befehl unten entspricht einer GraphQL-Operation, und die CLI baut ihre Flags aus deren Eingabe. Mit vulnara <befehl> --help siehst du dieselbe Liste lokal.

Flags an jedem erzeugten Befehl

NameTypBeschreibung
--tenantstringRun against this workspace instead of the default one
--outputstringWrite the raw JSON response to a file instead of stdout

Einrichtung

vulnara add_to_path

Add the vulnara binary to the PATH in the shell profiles that already exist.

Keine Flags.

vulnara completion

Generate and install shell completion for bash or fish.

Keine 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.

Keine Flags.

vulnara set_default_tenant

Remember the workspace every later command runs against.

NameTypBeschreibung
--tenantPflichtstringWorkspace id

Lesen

vulnara get_git_entity

Runs query gitEntity.

GraphQL-Operation: gitEntity

NameTypBeschreibung
--idPflichtstringId of the item
sh
vulnara get_git_entity --id <id>

vulnara get_git_token

Runs query gitToken.

GraphQL-Operation: gitToken

NameTypBeschreibung
--idPflichtstringId of the item
sh
vulnara get_git_token --id <id>

vulnara get_network

Runs query network.

GraphQL-Operation: network

NameTypBeschreibung
--idPflichtstringId of the item
sh
vulnara get_network --id <id>

vulnara get_network_scan_result

Runs query networkScanResult.

GraphQL-Operation: networkScanResult

NameTypBeschreibung
--idPflichtstringId of the item
sh
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
NameTypBeschreibung
--notificationScopeIdPflichtstring
sh
vulnara get_notification_scope --notificationScopeId <notificationScopeId>

vulnara get_repository

Runs query repository.

GraphQL-Operation: repository

NameTypBeschreibung
--idPflichtstringId of the item
sh
vulnara get_repository --id <id>

vulnara get_scan_result

Runs query scanResult.

GraphQL-Operation: scanResult

NameTypBeschreibung
--idPflichtstringId of the item
sh
vulnara get_scan_result --id <id>

vulnara git_entities

Runs query gitEntities.

GraphQL-Operation: gitEntities

NameTypBeschreibung
--filtersstringsfield=value, repeatable
--limitint
--orderstring
--searchstring
--skipint
--sortstring
sh
vulnara git_entities --limit 20

vulnara git_tokens

Runs query gitTokens.

GraphQL-Operation: gitTokens

NameTypBeschreibung
--filtersstringsfield=value, repeatable
--limitint
--orderstring
--searchstring
--skipint
--sortstring
sh
vulnara git_tokens --limit 20

vulnara network_scan_findings

Runs query networkScanFindings.

GraphQL-Operation: networkScanFindings

NameTypBeschreibung
--filtersstringsfield=value, repeatable
--limitint
--orderstring
--searchstring
--skipint
--sortstring
sh
vulnara network_scan_findings --limit 20

vulnara network_scan_results

Runs query networkScanResults.

GraphQL-Operation: networkScanResults

NameTypBeschreibung
--filtersstringsfield=value, repeatable
--limitint
--orderstring
--searchstring
--skipint
--sortstring
sh
vulnara network_scan_results --limit 20

vulnara networks

Runs query networks.

GraphQL-Operation: networks

NameTypBeschreibung
--filtersstringsfield=value, repeatable
--limitint
--orderstring
--searchstring
--skipint
--sortstring
sh
vulnara networks --limit 20

vulnara notification_scopes

Runs query notificationScopes.

GraphQL-Operation: notificationScopes

NameTypBeschreibung
--filtersstringsfield=value, repeatable
--limitint
--orderstring
--searchstring
--skipint
--sortstring
sh
vulnara notification_scopes --limit 20

vulnara programming_languages

Runs query programmingLanguages.

GraphQL-Operation: programmingLanguages

NameTypBeschreibung
-f, --filtersstringsfield=value, repeatable
sh
vulnara programming_languages

vulnara repositories

Runs query repositories.

GraphQL-Operation: repositories

NameTypBeschreibung
--filtersstringsfield=value, repeatable
--limitint
--orderstring
--searchstring
--skipint
--sortstring
sh
vulnara repositories --limit 20

vulnara repository_dependency_scan_findings

Runs query repositoryDependencyScanFindings.

GraphQL-Operation: repositoryDependencyScanFindings

NameTypBeschreibung
--filtersstringsfield=value, repeatable
--limitint
--orderstring
--searchstring
--skipint
--sortstring
sh
vulnara repository_dependency_scan_findings --limit 20

vulnara scan_findings

Runs query scanFindings.

GraphQL-Operation: scanFindings

NameTypBeschreibung
--filtersstringsfield=value, repeatable
--limitint
--orderstring
--searchstring
--skipint
--sortstring
sh
vulnara scan_findings --limit 20

vulnara scan_results

Runs query scanResults.

GraphQL-Operation: scanResults

NameTypBeschreibung
--filtersstringsfield=value, repeatable
--limitint
--orderstring
--searchstring
--skipint
--sortstring
sh
vulnara scan_results --limit 20

vulnara search_git_entities

Runs query gitEntities.

GraphQL-Operation: gitEntities

NameTypBeschreibung
--filtersstringsfield=value, repeatable
--limitint
--orderstring
--searchstring
--skipint
--sortstring
sh
vulnara search_git_entities --limit 20

vulnara search_git_tokens

Runs query gitTokens.

GraphQL-Operation: gitTokens

NameTypBeschreibung
--filtersstringsfield=value, repeatable
--limitint
--orderstring
--searchstring
--skipint
--sortstring
sh
vulnara search_git_tokens --limit 20

vulnara search_networks

Runs query networks.

GraphQL-Operation: networks

NameTypBeschreibung
--filtersstringsfield=value, repeatable
--limitint
--orderstring
--searchstring
--skipint
--sortstring
sh
vulnara search_networks --limit 20

vulnara search_repositories

Runs query repositories.

GraphQL-Operation: repositories

NameTypBeschreibung
--filtersstringsfield=value, repeatable
--limitint
--orderstring
--searchstring
--skipint
--sortstring
sh
vulnara search_repositories --limit 20

vulnara service_accounts

Runs query serviceAccounts.

GraphQL-Operation: serviceAccounts

NameTypBeschreibung
-f, --filtersstringsfield=value, repeatable
sh
vulnara service_accounts

vulnara tasks

Runs query tasks.

GraphQL-Operation: tasks

NameTypBeschreibung
-f, --filtersstringsfield=value, repeatable
sh
vulnara tasks

Ändern

vulnara associate_git_token_with_git_entity

Runs mutation associateGitTokenWithGitEntity.

GraphQL-Operation: associateGitTokenWithGitEntity

NameTypBeschreibung
--gitEntityIdPflichtstring
--gitTokenIdPflichtstring
sh
vulnara associate_git_token_with_git_entity --gitEntityId <gitEntityId> --gitTokenId <gitTokenId>

vulnara cancel_task

Runs mutation cancelTask.

GraphQL-Operation: cancelTask

NameTypBeschreibung
--idPflichtstringId of the item
sh
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
NameTypBeschreibung
--gitTypePflichtstring
--namePflichtstring
--typePflichtstring
sh
vulnara create_git_entity --gitType <gitType> --name <name> --type <type>

vulnara create_git_token

Runs mutation createGitToken.

GraphQL-Operation: createGitToken

NameTypBeschreibung
--expiresAtstring
--flagsPflichtstrings
--gitTokenTypePflichtstring
--namePflichtstring
--valuePflichtstring
sh
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
NameTypBeschreibung
--namePflichtstring
--networkPflichtstring
--networkTypePflichtstring
sh
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
NameTypBeschreibung
--channelIdPflichtstring
--channelTypePflichtstring
--isActivePflichtbool
--scopesPflichtstrings
sh
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
NameTypBeschreibung
--gitEntityIdPflichtstring
--githubUrlstring
--repositoryNamePflichtstring
sh
vulnara create_repository --gitEntityId <gitEntityId> --repositoryName <repositoryName>

vulnara create_service_account

Runs mutation createServiceAccount.

GraphQL-Operation: createServiceAccount

NameTypBeschreibung
--expiresAtPflichtstring
--namePflichtstring
sh
vulnara create_service_account --expiresAt <expiresAt> --name <name>

vulnara create_tenant

Runs mutation createTenant.

GraphQL-Operation: createTenant

NameTypBeschreibung
--namePflichtstring
sh
vulnara create_tenant --name <name>

vulnara delete_git_entity

Runs mutation deleteGitEntity.

GraphQL-Operation: deleteGitEntity

NameTypBeschreibung
--idPflichtstringId of the item
sh
vulnara delete_git_entity --id <id>

vulnara delete_git_token

Runs mutation deleteGitToken.

GraphQL-Operation: deleteGitToken

NameTypBeschreibung
--idPflichtstringId of the item
sh
vulnara delete_git_token --id <id>

vulnara delete_network

Runs mutation deleteNetwork.

GraphQL-Operation: deleteNetwork

NameTypBeschreibung
--idPflichtstringId of the item
sh
vulnara delete_network --id <id>

vulnara delete_network_scan_result

Runs mutation deleteNetworkScanResult.

GraphQL-Operation: deleteNetworkScanResult

NameTypBeschreibung
--idPflichtstringId of the item
sh
vulnara delete_network_scan_result --id <id>

vulnara delete_notification_scope

Runs mutation deleteNotificationScope.

GraphQL-Operation: deleteNotificationScope

NameTypBeschreibung
--idPflichtstringId of the item
sh
vulnara delete_notification_scope --id <id>

vulnara delete_repository

Runs mutation deleteRepository.

GraphQL-Operation: deleteRepository

NameTypBeschreibung
--idPflichtstringId of the item
sh
vulnara delete_repository --id <id>

vulnara delete_scan_result

Runs mutation deleteScanResult.

GraphQL-Operation: deleteScanResult

NameTypBeschreibung
--idPflichtstringId of the item
sh
vulnara delete_scan_result --id <id>

vulnara delete_service_account

Runs mutation deleteServiceAccount.

GraphQL-Operation: deleteServiceAccount

NameTypBeschreibung
--idPflichtstringId of the item
sh
vulnara delete_service_account --id <id>

vulnara dissociate_git_token_with_git_entity

Runs mutation dissociateGitTokenWithGitEntity.

GraphQL-Operation: dissociateGitTokenWithGitEntity

NameTypBeschreibung
--gitEntityIdPflichtstring
--gitTokenIdPflichtstring
sh
vulnara dissociate_git_token_with_git_entity --gitEntityId <gitEntityId> --gitTokenId <gitTokenId>

vulnara fetch_repositories

Runs mutation fetchRepositories.

GraphQL-Operation: fetchRepositories

NameTypBeschreibung
--gitEntityIdPflichtstring
--gitTokenIdstring
sh
vulnara fetch_repositories --gitEntityId <gitEntityId>

vulnara request_nsf_consultation

Runs mutation requestNSFConsultation.

GraphQL-Operation: requestNSFConsultation

NameTypBeschreibung
--findingIdPflichtstring
sh
vulnara request_nsf_consultation --findingId <findingId>

vulnara request_rsf_consultation

Runs mutation requestRSFConsultation.

GraphQL-Operation: requestRSFConsultation

NameTypBeschreibung
--findingIdPflichtstring
sh
vulnara request_rsf_consultation --findingId <findingId>

vulnara set_service_account_active

Runs mutation setServiceAccountActive.

GraphQL-Operation: setServiceAccountActive

NameTypBeschreibung
--idPflichtstring
--isActivePflichtbool
sh
vulnara set_service_account_active --id <id> --isActive <isActive>

vulnara start_network_scan

Runs mutation startNetworkScan.

GraphQL-Operation: startNetworkScan

NameTypBeschreibung
--networkIdPflichtstring
sh
vulnara start_network_scan --networkId <networkId>

vulnara start_repository_scan

Runs mutation startRepositoryScan.

GraphQL-Operation: startRepositoryScan

NameTypBeschreibung
--autoRemediatebool
--branchstring
--createIssuebool
--dockerScanToolIdPflichtstring
--gitTokenIdstring
--repositoryIdPflichtstring
sh
vulnara start_repository_scan --dockerScanToolId <dockerScanToolId> --repositoryId <repositoryId>

vulnara transfer_git_entity

Runs mutation transferGitEntity.

GraphQL-Operation: transferGitEntity

NameTypBeschreibung
--gitEntityIdPflichtstring
--newTenantPflichtstring
sh
vulnara transfer_git_entity --gitEntityId <gitEntityId> --newTenant <newTenant>

vulnara transfer_network

Runs mutation transferNetwork.

GraphQL-Operation: transferNetwork

NameTypBeschreibung
--networkIdPflichtstring
--newTenantPflichtstring
sh
vulnara transfer_network --networkId <networkId> --newTenant <newTenant>

vulnara update_git_token

Runs mutation updateGitToken.

GraphQL-Operation: updateGitToken

NameTypBeschreibung
--idPflichtstring
--namestring
--valuestring
sh
vulnara update_git_token --id <id>

vulnara update_notification_scope

Runs mutation updateNotificationScope.

GraphQL-Operation: updateNotificationScope

  • --channelId is not accepted by the gateway
NameTypBeschreibung
--channelIdstring
--channelTypestring
--idPflichtstring
--isActivebool
--scopesstrings
sh
vulnara update_notification_scope --id <id>

Verwalten Sie Ihre Cookie-Einstellungen

Wir verwenden Cookies, um Ihr Erlebnis zu verbessern. Sie können alle Cookies akzeptieren, nicht unbedingt erforderliche Cookies ablehnen oder unten Ihre Einstellungen verwalten. Datenschutzerklärung