aws / aws/aws-codeguru-cli

`--commit-range` doesn't restrict the recommendations to changed files in that range

Abierto
#35 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
23
Forks
13
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Issue
When I run the cli command to get a security scan for a given commit range, it includes recommendations across the entire package rather than just the specified commit range.

### Steps to reproduce
1. Run `aws-codeguru-cli --root-dir . --profile --mode security --commit-range HEAD^:HEAD`
2. Observe the the file at `code-guru/recommendations.json` includes recommendations across your entire package.

### Expected Result
Only include recommendations that are part of the diff within the commit range.

### Notes
I tried removing the commit range and noticed that the output is identical which makes me think that the flag is ignored.

This seems related to #9 but I wasn't able to validate the output of the jobs mentioned in that query.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Ejecuta el comando aws-codeguru-cli reportado con y sin --commit-range y compara code-guru/recommendations.json. Rastrea el punto de entrada de --commit-range y revisa el issue #9 relacionado; se considera terminado cuando recommendations.json contiene únicamente recomendaciones para archivos modificados en el rango de commits especificado.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
cli
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
42/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.