SafeBreach
SafeBreach - Breach and Attack Simulation platform Pack.#
This Integration is part of theSupported versions
Supported Cortex XSOAR versions: 6.10.0 and later.
For enterprises using SafeBreach and XSOAR, integrating this package streamlines operations by allowing you to operate SafeBreach through XSOAR, making SafeBreach an integral part of the enterprise workflows. This integration includes commands for managing tests, insight indicators, simulators and deployments, users, API keys, integration issues, and more. This integration was integrated and tested with version 2024Q1.4 of Safebreach.
#
Configure Safebreach in CortexParameter | Description | Required |
---|---|---|
Server URL | This is base URL for your instance. | True |
API Key | This is API key for your instance, this can be created in Safe Breach User Administration -> API keys, it must be saved as there is no way to view it again. | True |
Account ID | This is account ID of account with which we want to get data from safebreach | True |
Verify SSL Certificate | This Field is useful for checking if the certificate of SSL for HTTPS is valid or not | False |
Use system proxy settings | This Field is useful for asking integration to use default system proxy settings. | False |
#
CommandsYou can execute these commands from the CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.
#
safebreach-approve-simulatorThis command approves the simulator with the specified simulator_id.
#
Base Commandsafebreach-approve-simulator
#
InputArgument Name | Description | Required |
---|---|---|
simulator_id | ID of simulator to approve, in case unsure then please call safebreach-get-all-simulators and search for simulator name. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Simulator.is_enabled | String | Whether the simulator is enabled or not. |
SafeBreach.Simulator.simulator_id | String | The Id of given simulator. |
SafeBreach.Simulator.name | String | name for given simulator. |
SafeBreach.Simulator.account_id | String | Account Id of account Hosting given simulator. |
SafeBreach.Simulator.is_critical | String | Whether the simulator is critical. |
SafeBreach.Simulator.is_exfiltration | String | If Simulator is exfiltration target. |
SafeBreach.Simulator.is_infiltration | String | If simulator is infiltration target. |
SafeBreach.Simulator.is_mail_target | String | If simulator is mail target. |
SafeBreach.Simulator.is_mail_attacker | String | If simulator is mail attacker. |
SafeBreach.Simulator.is_pre_executor | String | Whether the simulator is pre executor. |
SafeBreach.Simulator.is_aws_attacker | String | if the given simulator is aws attacker. |
SafeBreach.Simulator.is_azure_attacker | String | If the given simulator is azure attacker. |
SafeBreach.Simulator.external_ip | String | external ip of given simulator. |
SafeBreach.Simulator.internal_ip | String | internal ip of given simulator. |
SafeBreach.Simulator.is_web_application_attacker | String | Whether the simulator is Web application attacker. |
SafeBreach.Simulator.preferred_interface | String | Preferred simulator interface. |
SafeBreach.Simulator.preferred_ip | String | Preferred Ip of simulator. |
SafeBreach.Simulator.hostname | String | Hostname of given simulator. |
SafeBreach.Simulator.connection_type | String | connection_type of given simulator. |
SafeBreach.Simulator.simulator_status | String | status of the simulator. |
SafeBreach.Simulator.connection_status | String | connection status of simulator. |
SafeBreach.Simulator.simulator_framework_version | String | Framework version of simulator. |
SafeBreach.Simulator.operating_system_type | String | operating system type of given simulator. |
SafeBreach.Simulator.operating_system | String | Operating system of given simulator. |
SafeBreach.Simulator.execution_hostname | String | Execution Hostname of the given simulator. |
SafeBreach.Simulator.deployments | String | deployments simulator is part of. |
SafeBreach.Simulator.created_at | String | Creation datetime of simulator. |
SafeBreach.Simulator.updated_at | String | Update datetime of given simulator. |
SafeBreach.Simulator.deleted_at | String | deletion datetime of given simulator. |
SafeBreach.Simulator.assets | String | Assets of given simulator. |
SafeBreach.Simulator.simulation_users | String | simulator users list. |
SafeBreach.Simulator.proxies | String | Proxies of simulator. |
SafeBreach.Simulator.advanced_actions | String | Advanced simulator details. |
#
safebreach-generate-api-keyThis command creates an API key with the name and optionally the description provided. The API key created will be shown on the Settings > API Keys page of SafeBreach Management. Important: The API key generated can be seen only once, so it is recommended to store/save it in a safe place for further use.
#
Base Commandsafebreach-generate-api-key
#
InputArgument Name | Description | Required |
---|---|---|
name | Name of the API Key to create. This will be the name shown in UI for API key under API keys section . | Required |
description | Description of the API Key to create. This is not a required field but it is recommended to store a description for easier identification if your use case requires using multiple API keys for multiple tasks. . | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.API.name | String | The Name of API Key generated through this command, This will match the input name of the command. |
SafeBreach.API.description | String | The Description of API Key created. this will be same as input description given for the command. |
SafeBreach.API.created_by | String | The id of user who generated this API key. |
SafeBreach.API.created_bt | String | The creation date and time of API key. |
SafeBreach.API.key | String | The value of API key generated. store this for further use as this will only be shown once |
#
safebreach-create-deploymentThis command creates a deployment, grouping the list of simulators provided with a name and optionally a description.
#
Base Commandsafebreach-create-deployment
#
InputArgument Name | Description | Required |
---|---|---|
name | Name of the deployment to create. this will be shown as name in deployments page of safebreach. | Required |
description | Description of the deployment to create. This will show as description of the deployment in your safebreach instance. It is generally preferable to give description while creating a deployment for easier identification. | Optional |
simulators | Deployment manages multiple simulators as single group. This parameter receives a comma separated list of IDs of all simulators that should be part of this deployment Simulator ID can be retrieved from safebreach-get-all-simulator-details . | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Deployment.id | Number | The ID of deployment created. this Id can be used to update ,delete deployment as deployment_id field of the deployment. |
SafeBreach.Deployment.account_id | String | This field shows account ID of user who has created the account. |
SafeBreach.Deployment.name | String | The name of deployment created. this will be name which will be shown on deployments page of safebreach and name that is given as input to the command. |
SafeBreach.Deployment.created_at | String | The creation date and time of deployment , this will be closer to command execution time if the deployment creation is successful. |
SafeBreach.Deployment.description | String | The description of the deployment created will be shown in description part of the table in safebreach. |
SafeBreach.Deployment.simulators | String | The simulators that are part of deployment. |
#
safebreach-create-userThis command creates a user, including credentials and permissions.
#
Base Commandsafebreach-create-user
#
InputArgument Name | Description | Required |
---|---|---|
name | Name of the user to create. | Required |
Email of the user to Create. | Required | |
is_active | If the user will be activated upon creation. Setting this parameter to 'true' active as soon as this command succeeds. Setting to 'false', will require to activate the user by an administrator. Possible values are: true, false. Default is true. Possible values are: true, false. Default is true. | Optional |
email_post_creation | Whether to send an email with login information to a newly crated user. Possible values are: true, false. Default is false. Possible values are: true, false. Default is true. | Optional |
password | Enforce password change on user creation. Possible values are: true, false. Default is false. | Required |
change_password_on_create | Should user change password on creation. when this is set to true then user will have to reset password on the next login, this can be used if we want user to reset password as soon as they login. Possible values are: true, false. Default is false. | Optional |
user_role | Role of the user being created. Possible values are: viewer, administrator, contentDeveloper, operator. Default is viewer. Possible values are: viewer, administrator, contentDeveloper, operator. Default is viewer. | Optional |
deployments | Comma separated ID of all deployments the user should be part of. The deployment IDs can be retrieved from 'list-deployments' command or from UI directly but care should be noted that only deployment ids of deployments which haven't been deleted will be shown here and after creation of user. for example if 1,2,3 are deployment ids given while creation but if 2 is deleted then when user is created , he will only have 1,3. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.User.id | Number | The ID of User created. |
SafeBreach.User.name | String | The name of User created. |
SafeBreach.User.email | String | The email of User created. |
SafeBreach.User.createdAt | String | The creation time of User. |
SafeBreach.User.roles | String | The roles and permissions of User created. |
SafeBreach.User.description | String | The description of User if any is given at creation time, it will be populated here. |
SafeBreach.User.role | String | The role assigned to user during creation. |
SafeBreach.User.deployments | String | The deployments user is part of. |
#
safebreach-delete-api-keyThis command deletes the API key with the name as specified in SafeBreach Management. It is not case sensitive.
#
Base Commandsafebreach-delete-api-key
#
InputArgument Name | Description | Required |
---|---|---|
key_name | Name of the API Key to Delete. This will be used for searching key with given name and then once it matches, that API key will be deleted. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.API.name | Number | The Name of API Key deleted. |
SafeBreach.API.description | String | Description of API Key deleted. |
SafeBreach.API.created_by | String | The id of user who generated this API key. |
SafeBreach.API.created_at | String | The creation time and date of API key. |
SafeBreach.API.deleted_at | String | The deletion time and date of API key. The deletion date and time are generally close to the command execution time and date. |
#
safebreach-delete-deploymentThis command deletes a deployment with the deployment_id (retrieved using the get-all-deployments command).
#
Base Commandsafebreach-delete-deployment
#
InputArgument Name | Description | Required |
---|---|---|
deployment_id | ID of the deployment to delete. The ID his can be searched with list-deployments command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Deployment.id | Number | The ID of deployment which has been deleted. |
SafeBreach.Deployment.account_id | String | The account Id of user who deleted the deployment. |
SafeBreach.Deployment.name | String | The name of deployment before the deployment was deleted. |
SafeBreach.Deployment.created_at | String | The creation date and time of deployment which has been deleted. |
SafeBreach.Deployment.description | String | The description of deployment before it was deleted. |
SafeBreach.Deployment.simulators | String | The simulators that are part of deployment before it was deleted. |
#
safebreach-clear-integration-issuesThis command deletes connector-related errors and warnings for the specified connector_id (retrieved using the get-all-integration-issues command).
#
Base Commandsafebreach-clear-integration-issues
#
InputArgument Name | Description | Required |
---|---|---|
integration_id | The ID of Integration to have its errors/warnings deleted. Both errors and warnings will be deleted. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Integration.error | Number | Error count after deletion of errors for the given Integration. |
SafeBreach.Integration.result | String | error deletion status whether true or false. |
#
safebreach-delete-scheduled-scenariosThis command deletes the scheduled scenario with the specified schedule_id.
#
Base Commandsafebreach-delete-scheduled-scenarios
#
InputArgument Name | Description | Required |
---|---|---|
schedule_id | schedule ID of scheduled scenario to delete. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Scenario.id | String | the Id of the scheduled scenario. |
SafeBreach.Scenario.name | String | the name of the scheduled scenario. |
SafeBreach.Scenario.accountId | String | the account ID of the scheduled scenario. |
SafeBreach.Scenario.description | String | the description of the scheduled scenario. |
SafeBreach.Scenario.successCriteria | String | the success criteria of the scheduled scenario. |
SafeBreach.Scenario.originalScenarioId | String | the original test ID of the scheduled scenario. |
SafeBreach.Scenario.systemFilter | String | the systemFilter of the scheduled scenario. |
SafeBreach.Scenario.tags | String | the tags of the scheduled scenario. |
SafeBreach.Scenario.createdAt | String | the creation datetime of the scheduled scenario. |
SafeBreach.Scenario.updatedAt | String | the updated datetime of the scheduled scenario. |
#
safebreach-delete-simulatorThe provided command facilitates the deletion of a simulator identified by its unique ID.To obtain the respective simulator ID, execute the "safebreach-get-all-simulators" command.
#
Base Commandsafebreach-delete-simulator
#
InputArgument Name | Description | Required |
---|---|---|
simulator_id | Id of the simulator we want to delete. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Simulator.is_enabled | String | Whether the simulator is enabled or not. |
SafeBreach.Simulator.simulator_id | String | The Id of given simulator. |
SafeBreach.Simulator.name | String | name for given simulator. |
SafeBreach.Simulator.account_id | String | Account Id of account Hosting given simulator. |
SafeBreach.Simulator.is_critical | String | Whether the simulator is critical. |
SafeBreach.Simulator.is_exfiltration | String | If Simulator is exfiltration target. |
SafeBreach.Simulator.is_infiltration | String | If simulator is infiltration target. |
SafeBreach.Simulator.is_mail_target | String | If simulator is mail target. |
SafeBreach.Simulator.is_mail_attacker | String | If simulator is mail attacker. |
SafeBreach.Simulator.is_pre_executor | String | Whether the simulator is pre executor. |
SafeBreach.Simulator.is_aws_attacker | String | if the given simulator is aws attacker. |
SafeBreach.Simulator.is_azure_attacker | String | If the given simulator is azure attacker. |
SafeBreach.Simulator.external_ip | String | external ip of given simulator. |
SafeBreach.Simulator.internal_ip | String | internal ip of given simulator. |
SafeBreach.Simulator.is_web_application_attacker | String | Whether the simulator is Web application attacker. |
SafeBreach.Simulator.preferred_interface | String | Preferred simulator interface. |
SafeBreach.Simulator.preferred_ip | String | Preferred Ip of simulator. |
SafeBreach.Simulator.hostname | String | Hostname of given simulator. |
SafeBreach.Simulator.connection_type | String | connection_type of given simulator. |
SafeBreach.Simulator.simulator_status | String | status of the simulator. |
SafeBreach.Simulator.connection_status | String | connection status of simulator. |
SafeBreach.Simulator.simulator_framework_version | String | Framework version of simulator. |
SafeBreach.Simulator.operating_system_type | String | operating system type of given simulator. |
SafeBreach.Simulator.operating_system | String | Operating system of given simulator. |
SafeBreach.Simulator.execution_hostname | String | Execution Hostname of the given simulator. |
SafeBreach.Simulator.deployments | String | deployments simulator is part of. |
SafeBreach.Simulator.created_at | String | Creation datetime of simulator. |
SafeBreach.Simulator.updated_at | String | Update datetime of given simulator. |
SafeBreach.Simulator.deleted_at | String | deletion datetime of given simulator. |
SafeBreach.Simulator.assets | String | Assets of given simulator. |
SafeBreach.Simulator.simulation_users | String | simulator users list. |
SafeBreach.Simulator.proxies | String | Proxies of simulator. |
SafeBreach.Simulator.advanced_actions | String | Advanced simulator details. |
#
safebreach-delete-test-with-idThis command deletes tests with given test ID.
#
Base Commandsafebreach-delete-test-with-id
#
InputArgument Name | Description | Required |
---|---|---|
test_id | Id of test to be deleted. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Test.scenario_id | String | scenario ID of the test. |
SafeBreach.Test.simulation_name | String | Name of the simulation. |
SafeBreach.Test.security_action_per_control | String | Security Actions of the simulation. |
SafeBreach.Test.test_id | String | Test id of the test. |
SafeBreach.Test.status | String | status of the test. |
SafeBreach.Test.planned_simulations_amount | String | Planned simulations count of the test. |
SafeBreach.Test.simulator_executions | String | simulator executions of the test. |
SafeBreach.Test.attack_executions | String | list of attacks that are part of the simulation. |
SafeBreach.Test.ran_by | String | user who started the simulation. |
SafeBreach.Test.simulator_count | String | simulators count per account. |
SafeBreach.Test.end_time | String | End Time of the test. |
SafeBreach.Test.start_time | String | start time of the test. |
SafeBreach.Test.finalStatus.stopped | String | stopped count of attacks. |
SafeBreach.Test.finalStatus.missed | String | missed count of attacks. |
SafeBreach.Test.finalStatus.logged | String | logged count of attacks. |
SafeBreach.Test.finalStatus.detected | String | detected count of attacks. |
SafeBreach.Test.finalStatus.prevented | String | prevented count of attacks. |
#
safebreach-delete-userThis command deletes a user with given data.
#
Base Commandsafebreach-delete-user
#
InputArgument Name | Description | Required |
---|---|---|
user_id | ID of user to be deleted. The Id can be retrieved by using get-all-users command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.User.id | Number | The ID of User whose data has been deleted. |
SafeBreach.User.name | String | The name of User deleted. |
SafeBreach.User.email | String | The email of User deleted. |
SafeBreach.User.createdAt | String | the time at which the user who has been selected has been created |
SafeBreach.User.updatedAt | String | last updated time. |
SafeBreach.User.deletedAt | String | Deletion time of user. |
SafeBreach.User.roles | String | The roles of User before they were deleted. |
SafeBreach.User.description | String | The description of User who has been deleted. |
SafeBreach.User.role | String | The roles and permissions of User who has been deleted. |
SafeBreach.User.deployments | String | The deployments related to user before he was deleted. |
#
safebreach-get-integration-issuesThis command gives all integrations related issues and warning. this will show the integrations error and warnings which are generally displayed in installed integrations page.
#
Base Commandsafebreach-get-integration-issues
#
InputArgument Name | Description | Required |
---|---|---|
error_type | this will help see issues which are either errors or warnings or both based on the input . Possible values are: , ERROR, WARNING. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Integration.integration_id | Number | The ID of Integration. A general notation that has been followed here is as follows, if the id has _default at the end then its a default connector else its a custom connector |
SafeBreach.Integration.integration_name | String | Name of the integration |
SafeBreach.Integration.action | String | The action of Integration error. This describes where exactly did the error occur, if its search,then it implies error/warning happened when connector was trying that process |
SafeBreach.Integration.success_state | String | status of integration error. This implies whether the connector was able to successfully perform the operation or if it failed partway. So false implies it failed partway and true implies it was successfully completed |
SafeBreach.Integration.error_description | String | This is the exact error description shown on safebreach integration error/warning page. This description can be used for understanding of what exactly happened for the integration to fail. |
SafeBreach.Integration.timestamp | String | Time at which error/warning occurred. This can be used to pinpoint error which occurred across integrations if time of origin was remembered |
#
safebreach-get-running-simulationsThis command gets simulations which are in running or queued state.
#
Base Commandsafebreach-get-running-simulations
#
InputArgument Name | Description | Required |
---|
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Test.test id | String | this is test ID of the simulation. |
SafeBreach.Test.simulation_id | String | the simulation id of the simulation. |
SafeBreach.Test.attack_id | String | the attack ID of the simulation. |
#
safebreach-get-running-testsThis command gets tests which are in running state.
#
Base Commandsafebreach-get-running-tests
#
InputArgument Name | Description | Required |
---|
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Test.id | Number | Id of Actively running test. |
SafeBreach.Test.name | String | Name of the test being run. |
SafeBreach.Test.description | String | Details related to the test being run. |
SafeBreach.Test.success_criteria | String | success criterion for the test. |
SafeBreach.Test.original_scenario_id | String | Original scenario ID of the running test |
SafeBreach.Test.actions_count | String | number of actions |
SafeBreach.Test.edges_count | String | number of edges. |
SafeBreach.Test.created_at | String | details related to when test is created. |
SafeBreach.Test.updated_at | String | details related to when test is last updated/changed |
SafeBreach.Test.steps_count | String | number of steps in simulator. |
SafeBreach.Test.scenario_id | String | scenario_id of the test. |
SafeBreach.Test.original_scenario_id | String | scenario_id for reference. |
SafeBreach.Test.ran_by | String | User who ran the scenario. |
SafeBreach.Test.ran_from | String | Where the test ran from. |
SafeBreach.Test.test_id | String | test id of the test. |
SafeBreach.Test.priority | String | priority of tests. |
SafeBreach.Test.retry_simulations | String | Should simulations be retried |
SafeBreach.Test.pause_duration | String | is the test paused and if so till when |
SafeBreach.Test.paused_date | String | when the test is paused |
SafeBreach.Test.expected_simulations_amount | String | number of simulations expected |
SafeBreach.Test.dispatched_simulations_amount | String | the number of simulations dispatched |
SafeBreach.Test.skipped_simulations_amount | String | The number of simulations skipped |
SafeBreach.Test.failed_simulations_amount | String | The number of simulations failed |
#
safebreach-get-available-simulator-detailsThis command to get all available simulators. if details is set to true then it retrieves simulator details like name, hostname, internal and external ips, types of targets and attacker configurations this simulator is associated with etc. if its set to false then it retrieves just name, id, simulation users, proxies etc. if deleted is set to true then it retrieves the data which has been deleted.
#
Base Commandsafebreach-get-available-simulator-details
#
InputArgument Name | Description | Required |
---|---|---|
hostname | if hostname to be included for search. | Optional |
external_ip | if external IP details to be included for search. | Optional |
internal_ip | if Internal IP are to be included for search. | Optional |
os | operating system name to filter with, Eg: LINUX,WINDOWS etc, incase nothing is selected then this will be set as empty which means all are retrieved. Possible values are: , LINUX, MAC, WINDOWS. | Optional |
is_enabled | if to search only enabled ones. Possible values are: true, false. | Optional |
is_connected | status of connection of simulators to search. Possible values are: true, false. | Optional |
is_critical | whether to search only for critical simulators or not. Possible values are: true, false. | Optional |
additional_details | Whether to show additional details or not. Possible values are: true, false. | Optional |
status | if simulator status are to be included for search. Possible values are: APPROVED, PENDING, ALL. Default is ALL. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Simulator.is_enabled | String | Whether the simulator is enabled or not. |
SafeBreach.Simulator.simulator_id | String | The Id of given simulator. |
SafeBreach.Simulator.name | String | name for given simulator. |
SafeBreach.Simulator.account_id | String | Account Id of account Hosting given simulator. |
SafeBreach.Simulator.is_critical | String | Whether the simulator is critical. |
SafeBreach.Simulator.is_exfiltration | String | If Simulator is exfiltration target. |
SafeBreach.Simulator.is_infiltration | String | If simulator is infiltration target. |
SafeBreach.Simulator.is_mail_target | String | If simulator is mail target. |
SafeBreach.Simulator.is_mail_attacker | String | If simulator is mail attacker. |
SafeBreach.Simulator.is_pre_executor | String | Whether the simulator is pre executor. |
SafeBreach.Simulator.is_aws_attacker | String | if the given simulator is aws attacker. |
SafeBreach.Simulator.is_azure_attacker | String | If the given simulator is azure attacker. |
SafeBreach.Simulator.external_ip | String | external ip of given simulator. |
SafeBreach.Simulator.internal_ip | String | internal ip of given simulator. |
SafeBreach.Simulator.is_web_application_attacker | String | Whether the simulator is Web application attacker. |
SafeBreach.Simulator.preferred_interface | String | Preferred simulator interface. |
SafeBreach.Simulator.preferred_ip | String | Preferred Ip of simulator. |
SafeBreach.Simulator.hostname | String | Hostname of given simulator. |
SafeBreach.Simulator.connection_type | String | connection_type of given simulator. |
SafeBreach.Simulator.simulator_status | String | status of the simulator. |
SafeBreach.Simulator.connection_status | String | connection status of simulator. |
SafeBreach.Simulator.simulator_framework_version | String | Framework version of simulator. |
SafeBreach.Simulator.operating_system_type | String | operating system type of given simulator. |
SafeBreach.Simulator.operating_system | String | Operating system of given simulator. |
SafeBreach.Simulator.execution_hostname | String | Execution Hostname of the given simulator. |
SafeBreach.Simulator.deployments | String | deployments simulator is part of. |
SafeBreach.Simulator.created_at | String | Creation datetime of simulator. |
SafeBreach.Simulator.updated_at | String | Update datetime of given simulator. |
SafeBreach.Simulator.deleted_at | String | deletion datetime of given simulator. |
SafeBreach.Simulator.assets | String | Assets of given simulator. |
SafeBreach.Simulator.simulation_users | String | simulator users list. |
SafeBreach.Simulator.proxies | String | Proxies of simulator. |
SafeBreach.Simulator.advanced_actions | String | Advanced simulator details. |
#
safebreach-get-testsThis command gets tests with given modifiers.
#
Base Commandsafebreach-get-tests
#
InputArgument Name | Description | Required |
---|
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Test.scenario_id | String | scenario ID of the test. |
SafeBreach.Test.simulation_name | String | Name of the simulation. |
SafeBreach.Test.security_action_per_control | String | Security Actions of the simulation. |
SafeBreach.Test.test_id | String | Test id of the test. |
SafeBreach.Test.status | String | status of the test. |
SafeBreach.Test.planned_simulations_amount | String | Planned simulations count of the test. |
SafeBreach.Test.simulator_executions | String | simulator executions of the test. |
SafeBreach.Test.attack_executions | String | list of attacks that are part of the simulation. |
SafeBreach.Test.ran_by | String | user who started the simulation. |
SafeBreach.Test.simulator_count | String | simulators count per account. |
SafeBreach.Test.end_time | String | End Time of the test. |
SafeBreach.Test.start_time | String | start time of the test. |
SafeBreach.Test.finalStatus.stopped | String | stopped count of attacks. |
SafeBreach.Test.finalStatus.missed | String | missed count of attacks. |
SafeBreach.Test.finalStatus.logged | String | logged count of attacks. |
SafeBreach.Test.finalStatus.detected | String | detected count of attacks. |
SafeBreach.Test.finalStatus.prevented | String | prevented count of attacks. |
#
safebreach-get-tests-with-scenario-idThis command gets tests with given scenario ID as part of it.
#
Base Commandsafebreach-get-tests-with-scenario-id
#
InputArgument Name | Description | Required |
---|---|---|
scenario_id | Scenario Id for test which has to be filtered. this can be found on UI, if unsure about this then please run safebreach-get-tests instead of this with same parameters as inputs. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Test.scenario_id | String | scenario ID of the test. |
SafeBreach.Test.simulation_name | String | Name of the simulation. |
SafeBreach.Test.security_action_per_control | String | Security Actions of the simulation. |
SafeBreach.Test.test_id | String | Test id of the test. |
SafeBreach.Test.status | String | status of the test. |
SafeBreach.Test.planned_simulations_amount | String | Planned simulations count of the test. |
SafeBreach.Test.simulator_executions | String | simulator executions of the test. |
SafeBreach.Test.attack_executions | String | list of attacks that are part of the simulation. |
SafeBreach.Test.ran_by | String | user who started the simulation. |
SafeBreach.Test.simulator_count | String | simulators count per account. |
SafeBreach.Test.end_time | String | End Time of the test. |
SafeBreach.Test.start_time | String | start time of the test. |
SafeBreach.Test.finalStatus.stopped | String | stopped count of attacks. |
SafeBreach.Test.finalStatus.missed | String | missed count of attacks. |
SafeBreach.Test.finalStatus.logged | String | logged count of attacks. |
SafeBreach.Test.finalStatus.detected | String | detected count of attacks. |
SafeBreach.Test.finalStatus.prevented | String | prevented count of attacks. |
#
safebreach-get-all-usersThis command gives all users who are not deleted.
#
Base Commandsafebreach-get-all-users
#
InputArgument Name | Description | Required |
---|
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.User.id | Number | The ID of User retrieved. this can be used to further link this user with user_id field of safebreach-update-user or safebreach-delete-user commands |
SafeBreach.User.name | String | The name of User retrieved. |
SafeBreach.User.email | String | The email of User retrieved. this can be used for updating user or deleting user for input email of commands safebreach-update-user or safebreach-delete-user |
#
safebreach-get-custom-scenariosThis command retrieves scenarios which are saved by user as custom scenarios. they generally have configurations and everything set up and will be ready to run as tests
#
Base Commandsafebreach-get-custom-scenarios
#
InputArgument Name | Description | Required |
---|---|---|
schedule_details | Details of custom scenarios (My scenarios). Possible values are: false, true. Default is true. Possible values are: false, true. Default is true. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Scenario.id | String | the Id of scenario. |
SafeBreach.Scenario.name | String | the name of the scenario. |
SafeBreach.Scenario.description | String | the description of the scenario. |
SafeBreach.Scenario.success_criteria | String | success criteria the scenario. |
SafeBreach.Scenario.original_scenario_id | String | original scenario id of scenario. |
SafeBreach.Scenario.actions_list | String | actions list of the scenario. |
SafeBreach.Scenario.edges_count | String | edges_count for the scenario. |
SafeBreach.Scenario.steps_order | String | the order of steps of the scenario. |
SafeBreach.Scenario.created_at | String | the creation datetime of the scenario. |
SafeBreach.Scenario.updated_at | String | the last updated time the scenario. |
#
safebreach-list-deploymentsThis command gets all deployments present for this instance.
#
Base Commandsafebreach-list-deployments
#
InputArgument Name | Description | Required |
---|
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Deployment.id | Number | The ID of deployment |
SafeBreach.Deployment.account_id | String | The accountId of user who created the deployment. |
SafeBreach.Deployment.name | String | The name of deployment. this will be the name shown in deployment name field of table in deployments page in safebreach UI |
SafeBreach.Deployment.created_at | String | The creation date and time of deployment. |
SafeBreach.Deployment.updated_at | String | The last updated date and time of deployment. |
SafeBreach.Deployment.description | String | This is description field of deployments table of safebreach UI |
SafeBreach.Deployment.simulators | String | The simulators that are part of deployment. |
#
safebreach-get-indicatorsThis command fetches SafeBreach Insights from which indicators are extracted, creating new indicators or updating existing indicators.
#
Base Commandsafebreach-get-indicators
#
InputArgument Name | Description | Required |
---|---|---|
test_id | Test ID of the insight. | Required |
limit | The maximum number of indicators to generate. The default is 1000. | Optional |
insightCategory | Multi-select option for the category of the insights to get remediation data for:Network Access, Network Inspection, Endpoint, Email, Web, Data Leak. | Optional |
insightDataType | Multi-select option for the remediation data type to get: Hash, Domain, URI, Command, Port, Protocol, Registry. | Optional |
behavioralReputation | Select option for the category of behavioral reputation. | Optional |
nonBehavioralReputation | Select option for the category of non-behavioral reputation. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Indicator.value | String | The value of the indicator |
SafeBreach.Indicator.type | String | The type of the indicator |
SafeBreach.Indicator.rawJSON.dataType | String | The data type of the indicator |
SafeBreach.Indicator.rawJSON.insightTime | String | The time of the insight |
SafeBreach.Indicator.rawJSON.value | String | The data type value of the indicator |
SafeBreach.Indicator.fields.description | String | The description of the indicator |
SafeBreach.Indicator.fields.safebreachseverity | String | The severity of the indicator |
SafeBreach.Indicator.fields.safebreachseverityscore | String | The severity score of the indicator |
SafeBreach.Indicator.fields.safebreachisbehavioral | Boolean | The behavioral of the indicator |
SafeBreach.Indicator.fields.safebreachattackids | Unknown | The attack ids of the indicator |
SafeBreach.Indicator.fields.port | String | The port of the indicator |
SafeBreach.Indicator.fields.tags | String | The tags of the indicator |
SafeBreach.Indicator.score | Number | The score of the indicator |
#
safebreach-get-simulator-download-linksThis command gets a list of links for download (item per operating system) for the latest available version.
#
Base Commandsafebreach-get-simulator-download-links
#
InputArgument Name | Description | Required |
---|
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Installation.md5 | String | The MD5 generated from the contents of the file |
SafeBreach.Installation.os | String | The operating system for which the update is intended |
SafeBreach.Installation.sha1 | String | The sha1 generated from the contents of the file. |
SafeBreach.Installation.sha256 | String | The sha256 generated from the contents of the file. |
SafeBreach.Installation.sha512 | String | The sha512 generated from the contents of the file. |
SafeBreach.Installation.sha512 | String | The sha512 generated from the contents of the file. |
SafeBreach.Installation.url | String | The URL from which update can be downloaded. |
SafeBreach.Installation.version | String | This indicates the simulator version. |
#
safebreach-get-prebuilt-scenariosThis command gets scenarios which are built by safebreach. They will be available by default even in new instance of your safebreach instance. They can be modified and saved as custom scenarios or used as it is.
#
Base Commandsafebreach-get-prebuilt-scenarios
#
InputArgument Name | Description | Required |
---|
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Scenario.id | String | the Id of scenario. |
SafeBreach.Scenario.name | String | he name of the scenario. |
SafeBreach.Scenario.description | String | the description of the scenario. |
SafeBreach.Scenario.created_by | String | user id of user, who created the scenario. |
SafeBreach.Scenario.created_at | String | creation datetime of scenario. |
SafeBreach.Scenario.updated_at | String | the update datetime of the scenario. |
SafeBreach.Scenario.recommended | String | the recommendation status of the scenario. |
SafeBreach.Scenario.tags_list | String | the tags related to the scenario. |
SafeBreach.Scenario.categories | String | the category ids of the scenario. |
SafeBreach.Scenario.steps_order | String | the order of steps involved in the scenario. |
SafeBreach.Scenario.order | String | the order of execution related to the scenario. |
SafeBreach.Scenario.min_api_ver | String | the minimum version of API required for scenario to be executed |
#
safebreach-get-scheduled-scenariosThis command retrieves schedules from safebreach which user has set and they will display it to user. By default Name is not shown, to retrieve and see it, please run 'safebreach-get-custom-scenarios' command to find name of scenario to which the schedule is associated with.
#
Base Commandsafebreach-get-scheduled-scenarios
#
InputArgument Name | Description | Required |
---|
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Schedules.id | String | the Id of the schedule. |
SafeBreach.Schedules.is_enabled | Boolean | if simulation is enabled. |
SafeBreach.Schedules.user_schedule | String | the user readable form of the schedule. |
SafeBreach.Schedules.run_date | String | the run date of the schedule. |
SafeBreach.Schedules.cron_timezone | String | the time zone of the schedule. |
SafeBreach.Schedules.description | String | the description of the schedule. |
SafeBreach.Schedules.scenario_id | String | the matrix ID of the schedule. |
SafeBreach.Schedules.created_at | String | the creation datetime of the schedule. |
SafeBreach.Schedules.updated_at | String | the updated datetime of the schedule. |
SafeBreach.Schedules.deleted_at | String | the deletion time of the schedule. |
#
safebreach-get-services-statusThis command facilitates the retrieval of service statuses from SafeBreach,presenting them to the user in a tabular format. In the event that services are inactive,pertinent details regarding their downtime or last operational status are also displayed.
#
Base Commandsafebreach-get-services-status
#
InputArgument Name | Description | Required |
---|
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Service.name | String | the name of the service. |
SafeBreach.Service.version | String | version of the service. |
SafeBreach.Service.connection status | String | connection status of service. |
SafeBreach.Service.error | String | error status of service. |
#
safebreach-get-simulationsThis command facilitates the retrieval of simulations and their associated data for a specified test. It can be used as a precursor command for the rerun-simulations command, streamlining the process of queuing simulations. It's important to note that this command currently lacks pagination limiters, potentially resulting in the retrieval of a large volume of data.
#
Base Commandsafebreach-get-simulations
#
InputArgument Name | Description | Required |
---|---|---|
test_id | This is ID of the test whose simulations will be retrieved. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Simulation.simulation_id | String | the id of the simulation. |
SafeBreach.Simulation.attacker_node_name | String | Name of attacker node of simulation. |
SafeBreach.Simulation.target_node_name | String | name of target of simulation. |
SafeBreach.Simulation.dest_node_name | String | name of destination of simulation. |
SafeBreach.Simulation.attack_name | String | name of attack |
SafeBreach.Simulation.attacks_involved | String | attack types involved in of simulation. |
SafeBreach.Simulation.result_details | String | result of simulation. |
SafeBreach.Simulation.security_action | String | security status as per the simulation. |
SafeBreach.Simulation.attack_description | String | attack details. |
#
safebreach-get-available-simulator-countThis command gives all details related to account, we are using this to find assigned simulator quota.
#
Base Commandsafebreach-get-available-simulator-count
#
InputArgument Name | Description | Required |
---|
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Account.id | Number | The account ID which is being used by integration. |
SafeBreach.Account.name | String | The Account Name of account being queried. |
SafeBreach.Account.contact_name | String | Contact name for given account. |
SafeBreach.Account.contact_email | String | Email of the contact person. |
SafeBreach.Account.user_quota | String | User Quota for the given account, maximum users which are allowed for the account. |
SafeBreach.Account.simulators_quota | Number | The simulator quota for the given account. The maximum number of simulators which are available for the account. |
SafeBreach.Account.registration_date | Number | The registration date of given account. |
SafeBreach.Account.activation_date | String | The Activation date of given account. |
SafeBreach.Account.expiration_date | String | Account expiration date. |
#
safebreach-get-simulator-with-idThis command gives simulator with given id
#
Base Commandsafebreach-get-simulator-with-id
#
InputArgument Name | Description | Required |
---|---|---|
simulator_id | simulator id. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Simulator.is_enabled | String | Whether the simulator is enabled or not. |
SafeBreach.Simulator.simulator_id | String | The Id of given simulator. |
SafeBreach.Simulator.name | String | name for given simulator. |
SafeBreach.Simulator.account_id | String | Account Id of account Hosting given simulator. |
SafeBreach.Simulator.is_critical | String | Whether the simulator is critical. |
SafeBreach.Simulator.is_exfiltration | String | If Simulator is exfiltration target. |
SafeBreach.Simulator.is_infiltration | String | If simulator is infiltration target. |
SafeBreach.Simulator.is_mail_target | String | If simulator is mail target. |
SafeBreach.Simulator.is_mail_attacker | String | If simulator is mail attacker. |
SafeBreach.Simulator.is_pre_executor | String | Whether the simulator is pre executor. |
SafeBreach.Simulator.is_aws_attacker | String | if the given simulator is aws attacker. |
SafeBreach.Simulator.is_azure_attacker | String | If the given simulator is azure attacker. |
SafeBreach.Simulator.external_ip | String | external ip of given simulator. |
SafeBreach.Simulator.internal_ip | String | internal ip of given simulator. |
SafeBreach.Simulator.is_web_application_attacker | String | Whether the simulator is Web application attacker. |
SafeBreach.Simulator.preferred_interface | String | Preferred simulator interface. |
SafeBreach.Simulator.preferred_ip | String | Preferred Ip of simulator. |
SafeBreach.Simulator.hostname | String | Hostname of given simulator. |
SafeBreach.Simulator.connection_type | String | connection_type of given simulator. |
SafeBreach.Simulator.simulator_status | String | status of the simulator. |
SafeBreach.Simulator.connection_status | String | connection status of simulator. |
SafeBreach.Simulator.simulator_framework_version | String | Framework version of simulator. |
SafeBreach.Simulator.operating_system_type | String | operating system type of given simulator. |
SafeBreach.Simulator.operating_system | String | Operating system of given simulator. |
SafeBreach.Simulator.execution_hostname | String | Execution Hostname of the given simulator. |
SafeBreach.Simulator.deployments | String | deployments simulator is part of. |
SafeBreach.Simulator.created_at | String | Creation datetime of simulator. |
SafeBreach.Simulator.updated_at | String | Update datetime of given simulator. |
SafeBreach.Simulator.deleted_at | String | deletion datetime of given simulator. |
SafeBreach.Simulator.assets | String | Assets of given simulator. |
SafeBreach.Simulator.simulation_users | String | simulator users list. |
SafeBreach.Simulator.proxies | String | Proxies of simulator. |
SafeBreach.Simulator.advanced_actions | String | Advanced simulator details. |
#
safebreach-get-simulators-versions-listThis command fetches the list of SafeBreach simulators
#
Base Commandsafebreach-get-simulators-versions-list
#
InputArgument Name | Description | Required |
---|
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Simulator.id | String | Simulator Id |
SafeBreach.Simulator.lastUpdateDate | String | Simulator last updated data |
SafeBreach.Simulator.lastUpdateStatus | String | Simulator last updated status |
SafeBreach.Simulator.currentStatus | String | Simulator current status |
SafeBreach.Simulator.availableVersions | Unknown | Simulator available versions |
#
safebreach-get-user-with-matching-name-or-emailThe command retrieves users based on the provided inputs. If an email is provided, it returns the user associated with that email, as email is a unique identifierIf a name is provided, exact name matching is required to ensure accurate retrieval of a single user;otherwise, multiple users may be returned. It's essential to note that either a name or an email must be populated as input;failure to provide either results in an error.
#
Base Commandsafebreach-get-user-with-matching-name-or-email
#
InputArgument Name | Description | Required |
---|---|---|
name | Name of the user. Partial match is supported. | Optional |
Email of the user. Exact match required. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.User.id | Number | The ID of User retrieved. this can be used to further link this user with user_id field of safebreach-update-user or safebreach-delete-user commands |
SafeBreach.User.name | String | The name of User retrieved. |
SafeBreach.User.email | String | The email of User retrieved. this can be used for updating user or deleting user for input email of commands safebreach-update-user or safebreach-delete-user |
#
safebreach-get-verification-tokenThis command retrieves existing verification token needed for verification of the simulators.
#
Base Commandsafebreach-get-verification-token
#
InputArgument Name | Description | Required |
---|
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Token.token | String | the value of new verification token. |
#
safebreach-pause/resume-simulations-testsThis command gets simulations/tests which are in running or queued state and pauses/resumes them based on input selected. The state selected will be applied for all running/queued state tasks whether they are simulations/tests.
#
Base Commandsafebreach-pause/resume-simulations-tests
#
InputArgument Name | Description | Required |
---|---|---|
simulation_or_test_state | State of tests/simulators to set to: 1. pause will set all simulations/tests which are in queue/running to paused stated and resume all will be the state of button in running simulations page. 2. resume will queue all simulations/tests and will set them to running/queued depending on priority. Note that this doe not affect the schedules and scheduled tasks unless they are running or active at the moment of execution of the command. Possible values are: resume, pause. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Test.status | String | the status of the simulations/tests. |
#
safebreach-rerun-simulationthis commands puts given simulation ids into queue for running.
#
Base Commandsafebreach-rerun-simulation
#
InputArgument Name | Description | Required |
---|---|---|
simulation_ids | ids of simulation we want to queue, please give ids of simulations as comma separated numbers. | Required |
test_name | test name for the given test. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Simulation.id | String | the Id of simulation. |
SafeBreach.Simulation.name | String | the name of the simulation. |
SafeBreach.Simulation.description | String | the description of the simulation. |
SafeBreach.Simulation.success_criteria | String | success criteria the simulation. |
SafeBreach.Simulation.original_scenario_id | String | original simulation id of simulation. |
SafeBreach.Simulation.actions_list | String | actions list of the simulation. |
SafeBreach.Simulation.steps_order | String | the order of steps of the simulation. |
SafeBreach.Simulation.createdAt | String | the creation datetime of the simulation. |
SafeBreach.Simulation.updatedAt | String | the last updated time the simulation. |
#
safebreach-rerun-testThis command puts given test data in queue for execution.
#
Base Commandsafebreach-rerun-test
#
InputArgument Name | Description | Required |
---|---|---|
test_id | test id for the given test, this is be test id field from get-all-tests-summary command. | Required |
test_name | test name for the given test. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Test.id | String | the Id of test. |
SafeBreach.Test.name | String | the name of the test. |
SafeBreach.Test.description | String | the description of the test. |
SafeBreach.Test.success_criteria | String | success criteria the test. |
SafeBreach.Test.original_scenario_id | String | original scenario id of test. |
SafeBreach.Test.actions_list | String | actions list of the test. |
SafeBreach.Test.edges_count | String | edges_count for the test. |
SafeBreach.Test.steps_order | String | the order of steps of the test. |
SafeBreach.Test.created_at | String | the creation datetime of the test. |
SafeBreach.Test.updated_at | String | the last updated time the test. |
SafeBreach.Test.scenario_id | String | the test id of the test. |
SafeBreach.Test.ran_by | String | the user id of the user who ran the test. |
SafeBreach.Test.ran_from | String | where the user ran the test from. |
SafeBreach.Test.enable_feedback_loop | String | feedback loop status of the test. |
SafeBreach.Test.test_id | String | test_id of the test. |
SafeBreach.Test.priority | String | priority of the test. |
SafeBreach.Test.retry_simulations | String | retry status of the test. |
#
safebreach-rotate-verification-tokenThis command rotates generated verification token meaning it creates a new token which will be used for verification of simulator and adding the simulator.
#
Base Commandsafebreach-rotate-verification-token
#
InputArgument Name | Description | Required |
---|
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Token.new_token | String | New token which has been generated due to the API call |
#
safebreach-update-deploymentThis command updates a deployment with given data. The deployment_id field of this command can be retrieved from 'safebreach-list-deployments' command. If the user wants to search with deployment ID then they can search it
#
Base Commandsafebreach-update-deployment
#
InputArgument Name | Description | Required |
---|---|---|
deployment_id | ID of the deployment to update. Can be searched with list-deployments command. | Required |
updated_simulators_for_deployment | Comma separated ID of all simulators to be part of the deployment Simulators can be retrieved by calling get-all-available-simulator-details command. | Optional |
updated_deployment_name | Deployment name. | Optional |
updated_deployment_description | Deployment description. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Deployment.id | Number | The ID of deployment whose values have been updated. ID cant be changed so this wont be updated. |
SafeBreach.Deployment.account_id | String | The accountId of user who created the deployment. |
SafeBreach.Deployment.name | String | The name of deployment which has been updated to the name given in updated_deployment_name. this will be the name shown in deployment name field of table in deployments page in safebreach UI |
SafeBreach.Deployment.created_at | String | The creation date and time of deployment whose data has been updated. |
SafeBreach.Deployment.updated_at | String | The last updated date and time of deployment whose data has been updated. This will generally be closer to the update deployment command run time for reference |
SafeBreach.Deployment.description | String | The updated description of deployment which is provided in updated_deployment_description field of input . This will now be the description which is shown in description field of deployments table of safebreach UI |
SafeBreach.Deployment.simulators | String | The simulators that are part of deployment. unless any simulators are given as input this field won't be updated this field doesn't reflect changes if simulators given as input are deleted |
#
safebreach-update-simulatorThis command updates simulator with given id. the given inputs for update fields will be updated to the selected filed values will be updated to given value.
#
Base Commandsafebreach-update-simulator
#
InputArgument Name | Description | Required |
---|---|---|
simulator_id | Simulator ID. | Required |
connection_url | The given value will be set as connection string, meaning this can be used to connect to this URL. | Optional |
cloud_proxy_url | the given value will be set as cloud proxy url. | Optional |
name | The given value will be set as name of simulator. This will be the name of simulator once the command runs. | Optional |
preferred_interface | the given value will be set as preferred interface. | Optional |
preferred_ip | the given value will be set as Preferred IP to connect to the simulator. | Optional |
tunnel | the given value will be set as tunnel. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Simulator.is_enabled | String | Whether the simulator is enabled or not. |
SafeBreach.Simulator.simulator_id | String | The Id of given simulator. |
SafeBreach.Simulator.name | String | name for given simulator. |
SafeBreach.Simulator.account_id | String | Account Id of account Hosting given simulator. |
SafeBreach.Simulator.is_critical | String | Whether the simulator is critical. |
SafeBreach.Simulator.is_exfiltration | String | If Simulator is exfiltration target. |
SafeBreach.Simulator.is_infiltration | String | If simulator is infiltration target. |
SafeBreach.Simulator.is_mail_target | String | If simulator is mail target. |
SafeBreach.Simulator.is_mail_attacker | String | If simulator is mail attacker. |
SafeBreach.Simulator.is_pre_executor | String | Whether the simulator is pre executor. |
SafeBreach.Simulator.is_aws_attacker | String | if the given simulator is aws attacker. |
SafeBreach.Simulator.is_azure_attacker | String | If the given simulator is azure attacker. |
SafeBreach.Simulator.external_ip | String | external ip of given simulator. |
SafeBreach.Simulator.internal_ip | String | internal ip of given simulator. |
SafeBreach.Simulator.is_web_application_attacker | String | Whether the simulator is Web application attacker. |
SafeBreach.Simulator.preferred_interface | String | Preferred simulator interface. |
SafeBreach.Simulator.preferred_ip | String | Preferred Ip of simulator. |
SafeBreach.Simulator.hostname | String | Hostname of given simulator. |
SafeBreach.Simulator.connection_type | String | connection_type of given simulator. |
SafeBreach.Simulator.simulator_status | String | status of the simulator. |
SafeBreach.Simulator.connection_status | String | connection status of simulator. |
SafeBreach.Simulator.simulator_framework_version | String | Framework version of simulator. |
SafeBreach.Simulator.operating_system_type | String | operating system type of given simulator. |
SafeBreach.Simulator.operating_system | String | Operating system of given simulator. |
SafeBreach.Simulator.execution_hostname | String | Execution Hostname of the given simulator. |
SafeBreach.Simulator.deployments | String | deployments simulator is part of. |
SafeBreach.Simulator.created_at | String | Creation datetime of simulator. |
SafeBreach.Simulator.updated_at | String | Update datetime of given simulator. |
SafeBreach.Simulator.deleted_at | String | deletion datetime of given simulator. |
SafeBreach.Simulator.assets | String | Assets of given simulator. |
SafeBreach.Simulator.simulation_users | String | simulator users list. |
SafeBreach.Simulator.proxies | String | Proxies of simulator. |
SafeBreach.Simulator.advanced_actions | String | Advanced simulator details. |
#
safebreach-upgrade-simulatorThis command updates the simulator using the Simulator ID and available version.
#
Base Commandsafebreach-upgrade-simulator
#
InputArgument Name | Description | Required |
---|---|---|
simulator_id | Simulator ID. | Required |
simulator_version | The version should be in the format of the safebreach-get-simulators-versions-list command and that 'latest' can be used. The default is the latest. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.Simulator.nodeId | String | Simulator ID |
SafeBreach.Simulator.status | String | Simulator status |
#
safebreach-update-userThis command updates a user with given data.
#
Base Commandsafebreach-update-user
#
InputArgument Name | Description | Required |
---|---|---|
user_id | user ID of user from safebreach to search. | Required |
name | Update the user name to given value of this field. | Optional |
user_description | Update the user Description to given value in this field. | Optional |
is_active | Update the user Status based on the input, if this is set to false then user will be deactivated. unless this field is left empty, whatever is present here will be updated to user details. user will be selected based on user_id field mentioned above. Possible values are: true, false, . | Optional |
password | Password of user to be updated with. this will be used for changing password for user. unless this field is left empty, whatever is present here will be updated to user details. user will be selected based on user_id field mentioned above. | Optional |
user_role | Role of the user to be changed to. unless you want to change the user role and permissions, dont select anything in this field, user will be selected based on user_id field mentioned above. Possible values are: viewer, administrator, contentDeveloper, operator. | Optional |
deployments | Comma separated ID of all deployments the user should be part of. unless this field is left empty, whatever is present here will be updated to user details.incase there are old deployments assigned to user then please include them too, else they will be replaced with new values.User will be selected based on user_id field mentioned above. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
SafeBreach.User.id | Number | The ID of User whose data has been updated. |
SafeBreach.User.name | String | The name of User after running the update command according to safebreach records. |
SafeBreach.User.email | String | the email of the user whose data has been updated by the command. |
SafeBreach.User.createdAt | String | the time at which the user who has been selected has been created |
SafeBreach.User.updatedAt | String | The last updated time of User selected for update. this will be the execution time for the command or close to it. |
SafeBreach.User.deletedAt | String | The Deletion time of User selected to update. Generally this is empty unless user chosen to update is a deleted user |
SafeBreach.User.roles | String | The roles of User updated. these will change if role has been updated during updating user details else they will be same as pre update. |
SafeBreach.User.description | String | The description of User after updating user, if description field has been given any new value during update then its updated else this will be left unchanged from previous value. |
SafeBreach.User.role | String | The roles and permissions related to user who has been selected for update.unless this field has been given a value , this will not be updated and will stay the same as previous value. |
SafeBreach.User.deployments | String | The deployments related to user, this will be comma separated values of deployment IDs |