search cancel

Input parameter validation Failed. Tag name - object-scan-verdict is not as per AWS tag naming rules

book

Article ID: 240571

calendar_today

Updated On:

Products

Cloud Workload Protection for Storage

Issue/Introduction

When trying to enable tagging in Azure, you get the following error from running the following command listed in the CWP for Storage documentation.

Command: 

./command-gateway.sh object-scan-status-tagging -enabled true -scanTimeTagName object-scan-time -scanVerdictTagName object-scan-verdict

 

Error:

Input parameter validation Failed. Tag name - object-scan-verdict is not as per AWS tag naming rules.

 

Environment

CWP for storage on Azure

Resolution

Changed the hyphens to underscores in the scan tag names.  The following command was successful.

Command: 

./command-gateway.sh object-scan-status-tagging -enabled true -scanTimeTagName object_scan_verdict -scanVerdictTagName object_scan_time