User write ASL scripts to perform functions and extract based on their use case like enrich data from the events, sometime script would fail to execute.
The Smarts sm_adapter --verify [filename.asl]
will generate errors if any of the rules within the customized Smarts ASL file have faulty syntax.
The errors generated will be similar to the following:
ASL-E-ERROR_RULE_INIT-While initializing rule set
ASL-ERROR_FILE_PARSE-While parsing rules in file
'<IP_BASE>/smarts/rules/discovery/custom/custom-end-post.asl'
ASL-ERROR_YACC_ERROR-syntax error at line 38, next token is 'xxxx'
NOTE: