Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR to update ARI output for showing modified files count and rules violated summary #253

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

justjais
Copy link
Contributor

@justjais justjais commented Aug 6, 2024

PR to update ARI output for showing modified files count and rules violated summary. With this change when ARI is run with --scan-per-target and --fix option, it'll result into following output:

  1. Smaller repository, ref: CloneSandbox:
(.env) ➜  ari project CloneSandbox --out-dir /tmp/CS --save-only-rule-result --scan-per-target --task-num-threshold 100 --fix
ARI args:  CloneSandbox
Listing scan targets (This might take several minutes for a large proejct)
Start scanning
[10/10] taskfile playbooks/update_repo_custom_properties.yml                         
Modified 34 files.
Rule Violation Summary
Rules    Count
W001     31
W004     2
W016     1
  1. Largest repository, ref: LoadBotTesting-4:
(.env) ➜  ari project LoadBotTesting-4 --out-dir /tmp/LB4 --save-only-rule-result --scan-per-target --task-num-threshold 100 --fix
ARI args:  LoadBotTesting-4
Listing scan targets (This might take several minutes for a large proejct)
Start scanning
[5778/5778] role roles/wait_for_node                       
Modified 96922 files.
Rule Violation Summary
Rules    Count
W001 	 96019
W016 	 903

@justjais justjais changed the title PR to update ARI output for showing modified files count and rules violated summary [DNM]PR to update ARI output for showing modified files count and rules violated summary Aug 6, 2024
@justjais justjais changed the title [DNM]PR to update ARI output for showing modified files count and rules violated summary PR to update ARI output for showing modified files count and rules violated summary Aug 22, 2024
Signed-off-by: Sumit Jaiswal <[email protected]>
Signed-off-by: Sumit Jaiswal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants