Scanning with SSM#
By integrating with AWS Systems Manager (SSM), you can select EC2 instances from the FutureVuls UI and run a scan at any time. Normally, you connect to an EC2 instance via SSH or another method before running a scan. With Scanning with SSM, this connection work is no longer required.
Scanning with SSM is not a method for registering servers in FutureVuls. It is a feature that starts the scanner installed on a registered server from the FutureVuls UI. For how to run a scan on the scanner server, see "Scanner Execution and Scheduling".
Manual Scan in the UI only matches the registered configuration information and does not start the scanner (see "How Scanning Works > When Scans Run").
Supported Environments
Only servers registered in FutureVuls via the Local Scan method of "Server OS Scan" (a scan performed by installing a scanner on the EC2 instance itself) are supported. Servers registered with Remote Scan are not supported. For supported OSes, please refer to "System Requirements".
Before use, update the scanner to the latest version. For the procedure, see "Checking the Scanner Version and Updating".
Setting Up Scanning with SSM#
Please complete the "AWS Authentication Settings" beforehand.
The setup flow is as follows.
| Order | Task | Work location | Scope | Completion check |
|---|---|---|---|---|
| 1 | Create an IAM role and attach it to the EC2 instance | AWS console | Per EC2 instance | The IAM role is attached to the EC2 instance |
| 2 | Install the SSM Agent | EC2 instance | Per EC2 instance | The instance is displayed in Systems Manager > Fleet Manager > Managed nodes in AWS ("Confirm SSM Registration") |
| 3 | Check the status of the integration settings on the FutureVuls side | The FutureVuls UI | Per FutureVuls group | If Scanning with SSM shows "Configured", step 4 is not required. If an error indicating that the SSM Document has not been created is displayed, proceed to step 4 |
| 4 | Create the SSM Document (only if the SSM Document has not been created in step 3) | An environment where the AWS CLI can be run | Once per combination of AWS account and region | When you click "Check" in the FutureVuls UI, "Configured" is displayed |
| 5 | Check the SSM Integration display, and if it is not reflected, run the scanner on the target server |
The FutureVuls UI. If it is not reflected, the EC2 instance (no work is required if you wait for the scheduled run) | Per EC2 instance | A ✓ is displayed in the SSM Integration column of the list on the Server / Product tab |
An SSM Document defines the commands that SSM runs on an EC2 instance. FutureVuls uses an SSM Document that starts the scan script of the scanner (vuls-saas.sh).
Configuration for AWS EC2 Instances#
Prepare each target EC2 instance by following Preparing EC2 Instances for SSM Integration, then continue with the AWS account configuration below.
Configuration for the AWS Account#
This setup is required for the AWS account that contains the EC2 instances to be integrated with SSM.
Check if FutureVuls Integration is Complete#
If an SSM Document has already been created in the same region of the same AWS account, for example through the SSM integration of another group, you do not need to create one. First, check the status of the settings with the following steps.
-
In the FutureVuls UI, open
Group Settings > Advanced Settings > External Integration > External Integrationand click the "Configure" button for Scanning with SSM in the AWS card.
- Without running the displayed command, click the "Check" button.
If Scanning with SSM shows "Configured", the configuration for the AWS account is complete. Proceed to "Automatic Integration with SSM". If an error indicating that the SSM Document has not been created is displayed, follow the steps below to create it. If an error with another cause, such as AWS authentication or permissions, is displayed, check the AWS authentication settings and the IAM role settings.
Prepare the Environment to Create the SSM Document#
For FutureVuls to start the scanner on EC2 instances via SSM, an SSM Document is required in the target AWS account. First, prepare an environment for running the command that creates the SSM Document. The command uses curl, bash, and wget. You create an SSM Document for each region.
- Install the AWS CLI in your preferred environment by following "Installing or updating to the latest version of the AWS CLI (AWS documentation)".
- Ensure that you can create and delete SSM Documents (
ssm:CreateDocumentandssm:DeleteDocument; displayed as "ssm.create-document" and "ssm.delete-document" in the FutureVuls UI) in the environment.- Authenticate as a user who has the above permissions in the target AWS account. (Configuration and credential file settings in the AWS CLI (AWS documentation))
- Alternatively, grant the above permissions to an EC2 instance within the target AWS account and run the command on that EC2 instance.
Create the SSM Document#
- As in "Check if FutureVuls Integration is Complete", click the "Configure" button for Scanning with SSM.
-
Run the displayed command in the environment you prepared.

-
After execution, click the "Check" button. If Scanning with SSM shows "Configured", the setup is complete.

Automatic Integration with SSM#
Check the SSM Integration column of the target server in the list on the Server / Product tab. Registered servers are matched against the managed nodes that are online in SSM when you check the settings, and are marked as integrated if they match. If a ✓ is not displayed, wait for the scheduled run of the scanner (once a day), or run a scan manually on the target server (see "Scanner Execution and Scheduling"). When the scanner runs once, information about whether that server can integrate with SSM is imported into FutureVuls.
The setup is complete when a ✓ is shown as follows.

If you add new servers managed by SSM after configuring the AWS integration, they will be automatically integrated with FutureVuls during the next scan.
Running a Scan with SSM#
When the setup is complete, the Scanning with SSM button under "Manual Scan with SSM" is displayed in Description Tab > Settings of the server details. When you click this button, a confirmation dialog is displayed. When you approve the run, the scanner on the target server starts, and the scan results are uploaded to FutureVuls. If the button is not displayed, check whether the SSM Integration column of the list on the Server / Product tab shows a ✓.

The execution history and status of SSM commands can be viewed in the AWS tab > SSM Command History.

Scan results can be found in the SSM Command History or Group Settings > Scan History. Use SSM Command History to check the run status of the SSM command, and Scan History to check whether the scan results have been reflected in FutureVuls. Users who cannot display Group Settings should ask a group administrator to check whether the results have been reflected.
If a Scan with SSM Fails#
If the message Could not get the result within the time limit. Please check the result in the AWS console. is displayed in SSM Command History Details, FutureVuls could not get the result of the SSM command within the time limit. Follow the steps below to check the results.

- To check the result (success/failure) of the SSM command
- Log in to the target AWS account and navigate to
AWS Systems Manager > Run Command > Command history. - Search for the
Command IDon the command history screen.
- Log in to the target AWS account and navigate to
- To check detailed logs of the command execution
- Please refer to the "Viewing SSM Agent logs" documentation.
Troubleshooting#
Check the common causes and fixes on the following pages.