class PatchingRepositoryImpl implements PatchingRepository, Constants {

    @Override
    public List<Map<String, Object>> getIssueInfo(String assetGroup)
            throws DataException {
        Map<String, Object> mustFilter = new HashMap<>();
        mustFilter.put(CommonUtils.convertAttributetoKeyword(RULEID),
                EC2_KERNEL_COMPLIANCE_RULE);

        Map<String, Object> mustNotFilter = new HashMap<>();
        mustNotFilter.put(CommonUtils.convertAttributetoKeyword(ISSUE_STATUS),
                CLOSED);
        try{
        return elasticSearchRepository.getSortedDataFromES(assetGroup,
                "issue_ec2", mustFilter, mustNotFilter, null,
                Arrays.asList(RESOURCEID, "issueStatus"), null, null);
        } catch(Exception e){
            throw new DataException(e);
        }
    }

}