@@ -1511,3 +1511,51 @@ FC062:
15111511 - style
15121512 - metadata
15131513 remediation_points : 350000
1514+ FC064 :
1515+ code : FC064
1516+ name : Ensure issues_url is set in metadata
1517+ tags :
1518+ - metadata
1519+ - supermarket
1520+ summary : |
1521+ This warning is shown if a cookbook does not include the issues_url
1522+ property in its metadata file. issues_url is used to point to the location
1523+ for submitting issues (bugs) for the cookbook and is currently parsed by
1524+ Supermarket to add links to community cookbooks. Note: issues_url is a Chef
1525+ 12 only feature that will cause cookbook failures in Chef 11 so it should
1526+ be properly gated if the code will be run on Chef 11 hosts.
1527+ examples :
1528+ - title : Metadata without issues_url
1529+ code : |
1530+ name 'example'
1531+ version '1.0.0'
1532+ - title : Modified version with Chef 11 compatibility check
1533+ code : |
1534+ name 'example'
1535+ version '1.0.0'
1536+ issues_url 'https://github.com/chef-cookbooks/something/issues' if respond_to?(:issues_url)
1537+ remediation_points : 50000
1538+ FC065 :
1539+ code : FC065
1540+ name : Ensure source_url is set in metadata
1541+ tags :
1542+ - metadata
1543+ - supermarket
1544+ summary : |
1545+ This warning is shown if a cookbook does not include the source_url
1546+ property in its metadata file. source_url is used to point to the source
1547+ location for the cookbook and is currently parsed by Supermarket to add
1548+ links to community cookbooks. Note: source_url is a Chef 12 only feature
1549+ that will cause cookbook failures in Chef 11 so it should be properly gated
1550+ if the code will be run on Chef 11 hosts.
1551+ examples :
1552+ - title : Metadata without source_url
1553+ code : |
1554+ name 'example'
1555+ version '1.0.0'
1556+ - title : Modified version with Chef 11 compatibility check
1557+ code : |
1558+ name 'example'
1559+ version '1.0.0'
1560+ source_url 'https://github.com/chef-cookbooks/something' if respond_to?(:source_url)
1561+ remediation_points : 50000
0 commit comments