This document provides a step-by-step guide for:
- Administrators to add and manage tasks in Task Manager.
- Authorized users to punctually run tasks in Task Manager.
Requirements
- System or Task Manager administrator permission to add and manage tasks.
- System user permission to run tasks.
Path to access
- On Segura, in the navigation bar, hover over the Products menu and select Task Manager.
- In the side menu, select Tasks.
Run task
To execute a one-time task, you must be included in an access policy that contains the task and necessary permissions. Follow these steps:
- On the Tasks screen, identify the desired task or use the search filters.
- Click the Actions button and select Run task.
- On the Run task screen:
- Select the Justification.
- If required, fill in the Governance Code and Reason fields.
- Click Run task.
- After going through the approval flow, the task will be executed automatically.
The following steps can only be performed by users with System administrator or Task Manager administrator permissions.
Add task
To add a task to be executed by Task Manager, follow these steps:
-
In the upper-right corner of the Tasks screen, click Add.
-
On the Add access reason screen, fill in:
AlertFields with an asterisk are mandatory.
-
Main information tab
- Task identification name*: name to identify the task.
- Environment*: select the environment where the task will be executed.
- System*: select the system where the task will be executed.
- Tags*: keywords to categorize the task.
- Click Continue.
-
Execution tab
- Plugin: select the plugin that will execute the task.
- Select a template to use*: select the template used to execute the task.
- Click Add to add variables for task execution.
- Identifier: add a unique name for the execution variable. Example: SERVICE.
- Value: add a value for the variable. Example: apache2.
Attention- The Identifier must be referenced in the template between hashtags. Example: [#SERVICE#].
- The Value can be fixed or requested from the user during task execution.
- Multiple variables can be configured for the same task.
-
-
Use a registered credential to access all devices: select the credential used to authenticate in the system.
7. Access credential registered in the system: enable or disable the use of the access credential for system authentication.
8. Use own credential to connect: Ative ou desative a opção Utilizar a própria credencial para conectar.
9. Credential username: alternatively, authenticate with a credential not registered in Segura. Enter the credential username in the field. Segura will use this username to search for the credential in each device where the task will be executed.
3. Devices for execution tab- Click Add to open the Devices modal and select the devices where the task will be executed.
- Review tab
- Review the task configuration.
-
Click Save.
Edit task
To edit a task added in Task Manager, follow these steps:
- On the Tasks screen, identify the desired task or use the search filters.
- Click the Actions button and select Edit.
- On the Edit task screen, make the necessary changes.
- Click Save.
Disable task
To disable a task added in Task Manager, follow these steps:
- On the Tasks screen, identify the desired task or use the search filters.
- Click the Actions button and select Disable.
- Click Yes in the confirmation pop-up.
Enable task
To enable a disabled task added in Task Manager, follow these steps:
- On the Tasks screen, identify the Status filter and select Disabled.
- In the disabled tasks list, identify the desired task.
- Click the Actions button and select Enable.
- Click Yes in the confirmation pop-up.
View task execution operations
To view the operations of each task execution in Task Manager, follow these steps:
- On the Operations screen, identify the desired operation or use the search filters.
- Click the Actions button and select View details.
- On the Operation details screen, view the operation’s information.
Do you still have questions? Reach out to the Segura Community.