8 Replies Latest reply on Jul 21, 2014 9:18 AM by Bill Robinson

    Unexpected behavior of Utility "exportComplianceRunLatest"

    Monoj Padhy

      Hi,

       

      I am experiencing some unexpected behavior while using the utility exportComplianceRunLatest. I have used below command in a NSH script for generating the latestrun result of compliance job into a csv file.

       

      BSA Version: 8.2.01.273

       

      blcli_execute Utility exportComplianceRunLatest "${TEMPLATE_LOCATION}" "${TEMPLATE_NAME}" "${COMPLIANCE_RULE_NAME}" "${COMPLIANCE_JOB_LOCATION}" "${COMPLIANCE_JOB_NAME}" "$LOG_LOCATION/$LOG_NAME.csv" "CSV"

       

      Earlier csv file:


      Template,Target Server,Target Component,Rule Group,Rule,Rule Reference Number,Rule Definition,Mismatched Conditions,Result,Documented Exception,Compliant,Exception Name,Exception Reference,Expiration Date

      RHEL_Pwd_Compliance,Server1,RHEL_Pwd_Compliance (Server1),/User Exist,User root,,"""Extended Object Entry:RHEL_Pwd_Compliance//root-User"".""Value1 as String (All OS)"" equals ""Available""",,Pass,,Y,,,

       

      Latest csv file:

       

      Template,Target Server,Target Component,Rule Group,Rule,Rule Reference Number,Rule Definition,Mismatched Conditions,Result,Documented Exception,Compliant,Exception Name,Exception Reference,Expiration Date,

      RHEL_Pwd_Compliance,Server1,RHEL_Pwd_Compliance (Server1),/User Exist,User root,,"""Extended Object Entry:RHEL_Pwd_Compliance//root-User"".""Value1 as String (All OS)"" equals ""Available""",,Pass,,Y,,,,

       

      In the latest csv file created, I observed that an additional "," is appended at the end of every line

       

      Not sure what is going wrong here. Is it something a known error ? I have not found anything related to this in KB. Does anyone experienced such behavior before ?

       

      Regards,

      Blas