-
Notifications
You must be signed in to change notification settings - Fork 6
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
add gRPC to our API server #131
Conversation
d19c701
to
91a015c
Compare
@@ -129,5 +129,5 @@ type GrypeDocument struct { | |||
IgnoredMatches []IgnoredMatch | |||
Source *Source | |||
Distro Distribution | |||
Descriptor Descriptor | |||
Descriptor_ Descriptor |
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.
notable change
@@ -52,10 +52,10 @@ type ScannedControlStatus struct { | |||
type ScannedControlRule struct { | |||
Name string | |||
Status RuleStatus | |||
ControlConfigurations map[string][]string | |||
ControlConfigurations map[string]string |
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.
notable change
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.
@slashben this one is causing unmarshaling issues for WorkloadConfigurationScan
(continuous scanning)
for some reason the protobufs don't like the initial map so I thought I could change it like that
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.
though it should be allowed https://protobuf.dev/programming-guides/proto3/#maps
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.
I think I've found a workaround by delaying unmarshalling with json.RawMessage
UserID int64 | ||
GroupID int64 | ||
MIMEType string | ||
Size_ int64 |
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.
notable change
@@ -640,7 +584,7 @@ type SingleSeccompProfileSpec struct { | |||
// Additional properties from OCI runtime spec | |||
|
|||
// list of flags to use with seccomp(2) | |||
Flags []*Flag | |||
Flags []Flag |
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.
notable change
68aec88
to
601bb90
Compare
Summary:
|
1 similar comment
Summary:
|
Summary:
|
Signed-off-by: Matthias Bertschy <[email protected]>
Signed-off-by: Matthias Bertschy <[email protected]>
Signed-off-by: Matthias Bertschy <[email protected]>
Summary:
|
No description provided.