Skip to content
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

Field properties changes #36

Merged
merged 5 commits into from
Jan 14, 2022
Merged

Field properties changes #36

merged 5 commits into from
Jan 14, 2022

Conversation

mstemm
Copy link
Contributor

@mstemm mstemm commented Jan 3, 2022

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area source-plugins

/area extractor-plugins

/area build

/area documentation

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

@leogr
Copy link
Member

leogr commented Jan 10, 2022

This PR depends on:

Hold until those get merged.
/hold

@jasondellaluce
Copy link
Contributor

/retest

This matches the corresponding sdk change in
falcosecurity/plugin-sdk-go#32. The sdk change
should be merged first.

Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
This changes the syntax of field Properties to be a list instead of a
single value.

Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
@mstemm mstemm force-pushed the field-properties-changes branch from 1e017ca to d91bbed Compare January 13, 2022 16:15
@poiana poiana added size/S and removed size/M labels Jan 13, 2022
This allows for field properties as a list of strings.

Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
Not explicitly required, as this plugin doesn't actually export field
properties, but just for consistency.

Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
When defining a field, add a properties property with a list of string
values. Also serialize this to json in the ostringstream overload.

Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
@poiana poiana added size/M and removed size/S labels Jan 13, 2022
Copy link
Contributor

@jasondellaluce jasondellaluce left a comment

Choose a reason for hiding this comment

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

Can't approve, but LGTM

@poiana
Copy link
Contributor

poiana commented Jan 14, 2022

LGTM label has been added.

Git tree hash: 19c0d1d42e3d92943de1277e2c85b146fe40c82b

@poiana
Copy link
Contributor

poiana commented Jan 14, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: leogr, mstemm

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@leogr
Copy link
Member

leogr commented Jan 14, 2022

/unhold

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

Successfully merging this pull request may close these issues.

4 participants