-
Notifications
You must be signed in to change notification settings - Fork 259
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
Refactor code for security policy #1279
Conversation
@SeanTAllen FYI |
03dc145
to
45efb49
Compare
The current implementation exposes some internal structure, which is unnecessary as well as some structs are duplicated across security policy package and security policy tool. This PR refactors code to de-duplicate exported structures and hides internal implementation behind new factory methods. Signed-off-by: Maksim An <maksiman@microsoft.com>
45efb49
to
f094fd7
Compare
All of this seems good to me and in line with discussions that Maksim and I have had. |
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.
Looks fine to me, moved a few things about.
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, little question about a toml field name
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
The current implementation exposes some internal structure, which is unnecessary as well as some structs are duplicated across security policy package and security policy tool. This PR refactors code to de-duplicate exported structures and hides internal implementation behind new factory methods. Signed-off-by: Maksim An <maksiman@microsoft.com>
The current implementation exposes some internal structure,
which is unnecessary as well as some structs are duplicated
across security policy package and security policy tool.
This PR refactors code to de-duplicate exported structures
and hides internal implementation behind new factory methods.
Signed-off-by: Maksim An maksiman@microsoft.com