Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
regal을 통해 Rego v1 추천 스타일로 코드 작성 시 파라미터 추출 이슈 해결
기존 샘플 코드는 대부분
import data.lib.exempt_container.is_exempt 로 import 후
is_exempt(...) 를 호출하는 방식으로 작성되지만
regal의 최신 스타일을 적용하면
import data.lib.exempt_container 후
exempt_container.is_exempt(...) 이런식으로 호출하는 스타일을 권장함
해당 스타일로 코드가 작성되었을 경우 파라미터 추출 전 정책과 라이브러리 코드 병합 시 인식하도록 개선