![]() |
ImportantFile Security Containerized Scanner is a ”Pre-release" sub-feature and is not part
of the existing features of an official commercial or general release. Please review
the Pre-Release Sub-Feature Disclaimer before using the sub-feature.
|
- Kubernetes 1.24+ - This can be a hosted kubernetes/EKS/AKS cluster.
- Helm 3+
- Trend Vision One Registration Token - To use the Trend Vision One File Security with your Kubernetes cluster a Registration Token is required. You can create the token in File Security.
- Trend Vision One account with a chosen region - For more information, see the Trend Vision One documentation.
Procedure
- Create secrets with the registration token.Create secrets using the following commands: (replace _your-v1-registration-token_ using your v1 registration token):
kubectl create namespace visionone-filesecurity kubectl create secret generic token-secret --from-literal=registration-token="_your-v1-registration-token_" -n visionone-filesecurity kubectl create secret generic device-token-secret -n visionone-filesecurity
- Download the Helm chart containing the scanner from the GitHub repository:
helm repo add visionone-filesecurity https://trendmicro.github.io/visionone-file-security-helm/ helm repo update
- If you wish you can verify that the helm chart has been signed and is valid:Download the public key file and import
curl -o public-key.asc https://trendmicro.github.io/visionone-file-security-helm/public-key.asc gpg --import public-key.asc
WARNING
The GnuPG v2 stores your secret keyring using a new format kbx on the default location ~/.gnupg/pubring.kbx. Please use the following command to convert your keyring to the legacy gpg format (Reference: Helm Provenance and Integrity)Verify that the chart has been signed and is validhelm pull --verify visionone-filesecurity/visionone-filesecurity
- Install the Helm Chart:Install the chart with the release name
my-release
helm install my-release visionone-filesecurity/visionone-filesecurity -n visionone-filesecurity
- Download and install a File Security SDK or the File Security CLI.
- Verify that the scanner is working using the CLI.
Note
If you installed an SDK instead of the CLI, you can also verify if the scanner is running using the installed SDK. For more information see File Security SDK- Run the following to get the amaas service:
export SERVICE_NAME=$(kubectl get svc --namespace visionone-filesecurity -l "app.kubernetes.io/name=visionone-filesecurity,app.kubernetes.io/instance=my-release" -o jsonpath="{.items[0].metadata.name}")
- Scan file from another pod using Trend Micro File Security CLI with service name as
endpoint:
./tmfs scan file:./eicar.com.txt --tls=false --endpoint=$SERVICE_NAME:50051
- Run the following to get the amaas service: