@Override
protected void doRun() throws Exception {
CSVWriter csvWriter = new CSVWriter(new FileWriter(getCommandLine().getArgs()[0]));
SecurityMaster securityMaster = getToolContext().getSecurityMaster();
SecurityMetaDataRequest metaRequest = new SecurityMetaDataRequest();
SecurityMetaDataResult metaData = securityMaster.metaData(metaRequest);
for (String securityType : metaData.getSecurityTypes()) {
s_logger.info("Processing security type " + securityType);
SecuritySearchRequest searchRequest = new SecuritySearchRequest();
searchRequest.setName("*");
searchRequest.setSecurityType(securityType);