CrowdStrike / gofalcon

Golang-based SDK to CrowdStrike's APIs
MIT License
60 stars 43 forks source link

Cannot export workflows and reimport #440

Open ryan00 opened 5 months ago

ryan00 commented 5 months ago

The latest version of the API does not return an exported workflow that is capable of being reimported..

https://github.com/CrowdStrike/gofalcon/blob/480a3051e3ed00874e51ea01a0427d1776dda493/falcon/client/workflows/workflows_client.go#L339

The Resource fields of the returned Payload are of type models.DefinitionsDefinitionExt and that does not completely deserialize the returned resources as verified by turning debug on.

ffalor commented 1 month ago

Hey @ryan00 thanks for reporting this issue, I'll take a closer look at this next week when I regenerate the SDK.

ffalor commented 2 weeks ago

@ryan00 can you expand on what fields you are seeing missing?