Use Attribute capability for get_inventory scripts.
See merge request !6746 (merged)
(cherry picked from commit de618261)
7b5eb86c Use Attribute capability for get_inventory scripts. 2822467b Add Custom attributes. c3f27898 Fix typo. 33919bdd Up caps discovery over asset.