Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

feat: print policy as code identifier in verbose mode #931

Merged
merged 1 commit into from
May 1, 2023

Conversation

Meyazhagan
Copy link
Contributor

related to issue #729

@@ -177,6 +178,11 @@ func (p *Printer) GetWarningsText(warnings []Warning, quiet bool) string {

sb.WriteString(fmt.Sprintf("%v %v\n", p.Theme.Emoji.Skip, ruleName))

if skippedRule.PACIdentifier != "" {
PACIdentifier := p.Theme.Colors.Cyan.Sprint(skippedRule.PACIdentifier)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I like the fact that you added coloring!

@shalev007 shalev007 changed the title Feat: Print Policy as code identifier in verbose mode feat: Print Policy as code identifier in verbose mode May 1, 2023
@shalev007 shalev007 changed the title feat: Print Policy as code identifier in verbose mode feat: print policy as code identifier in verbose mode May 1, 2023
@shalev007 shalev007 merged commit c5ff84d into datreeio:main May 1, 2023
@shalev007
Copy link
Contributor

Thanks @Meyazhagan

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants