https://github.com/osquery/osquery logo
#fleet
Title
# fleet
a

Ahmed

07/08/2021, 8:38 AM
Hi faced this issue after upgrade to v4.0.1 specificly when trying to click on Packs
manually deleted packs targets with null value, now can’t import pack with target of “All Hosts”
Copy code
unmarshaling pack spec: error unmarshaling JSON: json: cannot unmarshal string into Go struct field PackSpecTargets.targets.labels of type []string
OK, that was fixed with
Copy code
targets:
    labels:
    - All Hosts
z

zwass

07/08/2021, 7:17 PM
Did you have a pack with null values for targets? Any idea how that got there? I am trying to understand if this is an issue that other folks will encounter and how we can prevent it.