Package scap.check

Examples of scap.check.CheckInterpreterConfiguration


            cpeCheckResults = null;
          } else {
              log.info("Resolving the CPE dictionary and platform definitions");

              try {
                  CheckInterpreterConfiguration config = newCheckInterpreterConfiguration();
                  config.setLogOutput(options.isVerboseOutput());
                  config.setResultContextResolver(resultContextResolver);
                  config.addDirectives(options.getDirectives());

                  CheckInterpreter interpreter = new CheckInterpreter(config);

                cpeCheckResults = cpeResolver.process(interpreter, options.getCpeDictionaries());
View Full Code Here


    this.supportedScoringModels = scoringModels;
  }

  public CheckInterpreterConfiguration newCheckInterpreterConfiguration() throws IOException {
        Properties properties = XCCDFInterpreterProperties.getInstance().getCheckInterpreterConfigurationProperties();
        CheckInterpreterConfiguration retval = new CheckInterpreterConfiguration(properties);
    retval.setApplicationName(applicationProperties.getApplicationName());
        retval.setApplicationVersion(applicationProperties.getBuildVersion());
        return retval;
  }
View Full Code Here

        log.debug("Benchmark.Content");

    CheckInterpreter checkInterpreter = null;

    if (options.isPerformChecks()) {
          CheckInterpreterConfiguration config = newCheckInterpreterConfiguration();
      config.addDirectives(options.getDirectives());
            config.setResultContextResolver(resultContextResolver);
      checkInterpreter = new CheckInterpreter(config);
    }

    MutableXCCDFResults xccdfResults = document.newXCCDFResults(xccdfResultContext, options);
    document.visit(new ProcessorXCCDFVisitorHandler(checkInterpreter,
View Full Code Here

TOP

Related Classes of scap.check.CheckInterpreterConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.