-
Notifications
You must be signed in to change notification settings - Fork 17
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 push implementation Inline replace functionality from ARI #238
PR to push implementation Inline replace functionality from ARI #238
Conversation
Signed-off-by: Sumit Jaiswal <[email protected]>
Signed-off-by: Sumit Jaiswal <[email protected]>
Signed-off-by: Sumit Jaiswal <[email protected]>
Signed-off-by: Sumit Jaiswal <[email protected]>
Signed-off-by: Sumit Jaiswal <[email protected]>
Signed-off-by: Sumit Jaiswal <[email protected]>
ansible_risk_insight/finder.py
Outdated
logging.basicConfig( | ||
level=os.environ.get('LOGLEVEL', 'WARNING').upper() | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ARI already has its own logger at ansible_risk_insight.logger
and we can use it like this, so please consider using it instead of the native logging library.
If the native logging is better here, we can accept this change, but at least the environment variable should be consistent with the existing one ARI_LOG_LEVEL
(ref: link)
Signed-off-by: Sumit Jaiswal <[email protected]>
Signed-off-by: Sumit Jaiswal <[email protected]>
PR to push implementation Inline replace functionality from ARI.
Currently the
--fix
operation is supported/enabled with--scan-per-target
command.Steps to test:
ari project <local github repository> --out-dir /tmp/test --save-only-rule-result --scan-per-target --task-num-threshold 100 --fix