Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions claudecode/github_action_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,15 +389,6 @@ def _extract_review_findings(self, claude_output: Any) -> Dict[str, Any]:
}
}

# Backward-compatible alias
def run_security_audit(self, repo_dir: Path, prompt: str) -> Tuple[bool, str, Dict[str, Any]]:
return self.run_code_review(repo_dir, prompt)

# Backward-compatible alias
def _extract_security_findings(self, claude_output: Any) -> Dict[str, Any]:
return self._extract_review_findings(claude_output)


def validate_claude_available(self) -> Tuple[bool, str]:
"""Validate that Claude Code is available."""
try:
Expand Down Expand Up @@ -540,11 +531,6 @@ def run_code_review(claude_runner: SimpleClaudeRunner, prompt: str) -> Dict[str,
return results


def run_security_audit(claude_runner: SimpleClaudeRunner, prompt: str) -> Dict[str, Any]:
"""Backward-compatible wrapper for previous security audit runner."""
return run_code_review(claude_runner, prompt)


def apply_findings_filter(findings_filter, original_findings: List[Dict[str, Any]],
pr_context: Dict[str, Any], github_client: GitHubActionClient) -> Tuple[List[Dict[str, Any]], List[Dict[str, Any]], Dict[str, Any]]:
"""Apply findings filter to reduce false positives.
Expand Down
Loading