
Prometheus Firewall Analyzer
Prometheus는 Ruby 애플리케이션이며 최신 버전(1.8.7 이상)의 Ruby가 실행되는 모든 시스템에서 작동합니다. Prometheus를 설치하려면 다음 단계를 따르세요:
Prometheus를 사용하려면 -c 옵션으로 파싱할 구성 파일을 지정합니다. Prometheus는 기본적으로 현재 디렉토리에 기본 HTML 템플릿을 사용하여 HTML 보고서를 생성합니다. 사용자 정의 템플릿을 지정하려면 -t 옵션을 사용합니다. Prometheus Pro를 사용하는 경우 -f 옵션으로 대체 보고서 형식을 지정합니다. 현재 XML이 유일한 대체 형식입니다.
Usage: ./prometheus.rb -c config_file [options]
-c, --config_file FILE Firewall configuration to parse.
-r, --report_file FILE Report file to write.
-f, --format FORMAT Report format to use.
-t, --template FILE File to use as template.
-v, --verbose Print verbose output.
-d, --debug Print debug output (very verbose).
-h, --help Display this screen
사용자 정의 템플릿을 사용하려면 먼저 HTML 파일을 만들고 파일에 태그를 배치하여 Prometheus가 구성 및 취약점 요소를 삽입할 위치를 알려줍니다. 현재 Prometheus는 다음 태그를 지원합니다:
--name-- Firewall name.
--type-- Firewall type.
--firmware-- Firmware version.
--summary_statement-- Summary statement.
--analysis-- Identified vulnerabilities.
--interfaces-- Firewall interfaces.
--management-- Management interfaces.
--access_lists-- Access control lists.
--host_names-- List of host names (Professional only).
--network_names-- List of network names (Professional only).
--service_names-- List of service names (Professional only).
다음으로, 사용할 사용자 정의 템플릿을 -t 옵션으로 지정합니다. 사용자 정의 템플릿을 만드는 방법의 예를 보려면 config 디렉토리에 있는 기본 HTML 템플릿인 template.html을 참조하십시오. 먼저 백업 사본을 만들지 않는 한 template.html을 수정하지 않는 것이 좋습니다.