Change attributes attribute to inputs #360
Labels
Aspect: Integration
Works correctly with other projects or systems.
Type: Breaking Change
Changes the way existing features work in a way that affects users.
Milestone
Cookbook version
7.4.0, current, proposing to change the name in 8.0
Chef-client version
any
Platform Details
n/a
Scenario:
InSpec Attributes have long been a source of confusion, because people assume they are closely related to Chef Attributes (they aren't). So, on inspec/inspec#3802, we're renaming InSpec Attributes to InSpec Inputs.
That means that the way you pass things into InSpec should be renamed - the Chef Attribute
default['audit']['attributes']
should be renamed to the Chef Attributedefault['audit']['inputs']
.It will still expect a Hash (mapping input names to input values), and you can still get values for that Hash from anywhere you like, including Chef Attributes (we hope to have a more direct way of doing that soon - stay tuned!).
Refs #261
Attn @btm
The text was updated successfully, but these errors were encountered: