-
Notifications
You must be signed in to change notification settings - Fork 1
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
Show policy audit violations #3161
Conversation
import { PolicyTable } from '@weaveworks/weave-gitops'; | ||
import { useListPolicies } from '../../contexts/PolicyViolations'; | ||
import { TableWrapper } from '../Shared'; | ||
import LoadingWrapper from '../Workspaces/WorkspaceDetails/Tabs/WorkspaceTabsWrapper'; |
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.
We're now using the one exported from OSS import { RequestStateHandler } from '@weaveworks/weave-gitops';
so we need to replace LoadingWrapper
with RequestStateHandler
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.
any updates here!?
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.
LGTM! Nice to see the explorer stuff getting re-used. LMK if there are any issues with either the components or the backend.
expect(tabs[2]).toHaveTextContent('Enforcement Events'); | ||
}); | ||
|
||
it('renders a list of policies', async () => { |
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.
🎉
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.
commented on enabling policy agent by default
…veworks/weave-gitops-enterprise into show-policy-audit-violations
@taghreed86 @TheGostKasper i removed myself from the reviewers as it is mostly FE work that wont be able to help much. Just a suggestion would be to complete the PR template: For example:
|
…erprise into show-policy-audit-violations
Closes #2851
What changed?
Why was this change made?
How was this change implemented?
How did you validate the change?
Manual Test
Explain how a reviewer can verify the change themselves
Integration tests -- what is covered, what cannot be covered;
or, explain why there are no new tests
Unit tests -- what is covered, what cannot be covered; are
there tests that fail without the change?
Release notes
Documentation Changes
Other follow ups