RapidFort Command Line Interface Tools
The RapidFort command line interface (CLI) tools enable you to interact with RapidFort services. Scan, stub, and harden your container images, download reports, and more.
- 64-bit Intel-based Linux or Mac OS X client system
- At least 2 GB of memory
- You may need more memory when working with larger container images.
- At least 10 GB of free space
- You may need more free space when working with larger container images.
- In general, please expect to have at least (4 * image size) free space available when generating stub images and (2 * image size) free space available when scanning images.
You must have a 64-bit Intel-based client system to use the RapidFort CLI tools. If your client system architecture is not supported, please submit a feature request to RapidFort Support ([email protected]).
bash
curl
- Python 3.7+ and
pip3
- RapidFort recommends Python 3.8.10 or higher
sed
tar
- Container Engine (Docker or Podman)
- The RapidFort CLI tools must have permission to access the Docker daemon socket. Please verify that the user for whom the RapidFort CLI tools will be installed has permissions to access the Docker daemon socket.
- For example, run the following commands on your client system:
docker images
docker pull <image>
- For more information on managing Docker as a non-root user, please refer to Manage Docker as a non-root user.
- If you are not able to give a non-root user permissions to access the Docker daemon socket, please install the RapidFort CLI tools as the root user.
- RapidFort recommends Podman version 4.2.0 or higher
- Please verify that your client system has permissions to
podman pull
,podman run
, andpodman push
(if applicable) container images
Run the following command to install the CLI tools:
curl https://frontrow.rapidfort.com/cli/ | bash
You will need the IP address or hostname of your RapidFort On-Premises deployment.
Run the following command to install the CLI tools:
curl https://<rapidfort_host>/cli/ | bash
bash: line 1: html: No such file or directory
bash: line 2: syntax error near unexpected token <'
'ash: line 2:301 Moved Permanently
Make sure that there is a
/
character following cli
. For example:curl https://frontrow.rapidfort.com/cli/ | bash
curl https://rapidfort.example.com/cli/ | bash
For more information on a command, run the command with
--help
.- rfjobs: List all RapidFort jobs for the current user (including jobs that are not available on the client system)
Last modified 7mo ago