Skip to content

[ BUG ] Find-FalconDuplicate outputs Missing required property: 'first_seen' error #514

Description

@bk-cs

Describe the bug
When using Find-FalconDuplicate and a host record does not have a first_seen value, the command generates an error.

To Reproduce
Either provide a list with a host that does not have a first_seen value, or have a host with a missing first_seen value in your CID and allow Find-FalconDuplicate to retrieve it

Expected behavior
Although this error message is expected behavior for how Find-FalconDuplicate works, first_seen is not required for how the command determines if something is a duplicate. Only the cid, hostname and last_seen fields are required.

To change this, I'm going to remove first_seen as a required property. It will still be shown in the final "duplicate list" output when provided to Find-FalconDuplicate.

Environment (please complete the following information):

  • PSFalcon: 2.2.9

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfix availableSelf-applied fix available in issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions