/** * IaC 스캐너 통합 모듈 * * Dockerfile, Kubernetes, Terraform 등 IaC 파일을 감지하고 적절한 스캐너를 실행합니다. * * @author zerry */ import { SecurityIssue } from '../types.js'; import { scanDockerfile } from './dockerfile.js'; import { scanKubernetes } from './kubernetes.js'; import { scanTerraform } from './terraform.js'; export type IaCType = 'dockerfile' | 'kubernetes' | 'terraform' | 'unknown'; /** * 파일 경로에서 IaC 타입 감지 */ export declare function detectIaCType(filePath: string): IaCType; /** * IaC 파일 스캔 */ export declare function scanIaCFile(filePath: string, iacType?: IaCType): Promise; /** * IaC 스캔 결과 포맷팅 */ export declare function formatIaCScanResult(issues: SecurityIssue[], iacType: IaCType): string; export { scanDockerfile, scanKubernetes, scanTerraform };