Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

cyberark (1) Versions 1.0.0

Custom resource to retrieve credential from CyberArk vault using AIM Central Credential Provider

Berkshelf/Librarian
Policyfile
Knife
cookbook 'cyberark', '~> 1.0.0'
cookbook 'cyberark', '~> 1.0.0', :supermarket
knife cookbook site install cyberark
knife cookbook site download cyberark
README
Dependencies
Changelog
Quality

cyberark Cookbook

Contains custom resource cyberark_credential and a default sample cookbook. It retrieves credential from CyberArk vault using AIM API (connecting to AIM Central Credential Provider.)

It requires cyberark_credential gem.

Requirements

Platforms

  • All platforms supported by Chef

Chef

  • Chef 12.1+

Cookbooks

  • none

Custom Resources

cyberark_credential

Actions

  • :read - Retrieves credential from CyberArk vault using AIM API (connecting to AIM Central Credential Provider)

Properties

  • name - Name attribute. The name of the value to be stored in the registry
  • app_id - ID for Application defined in CyberArk
  • query - The query to match the credential to be retrieved
  • base_url - The base URL for CyberArk AIM Central Credential Provider
  • use_ssl - Whether to use HTTP (false) or HTTPS (true) when making the API call

Examples

Retrieves CyberArk credential for account which matches criteria "Safe=Test;Folder=Root;Object=Object", and creates a file named /tmp/test.txt with information received from CyberArk.

chef_gem 'cyberark_credential' do
  compile_time true
end

cyberark_credential "cred1" do
  app_id #{node['cyberark']['app_id']}
  query #{node['cyberark']['query']}
  notifies :create, "file[/tmp/test.txt]", :immediately
  base_url #{node['cyberark']['base_url']}
  use_ssl  #{node['cyberark']['use_ssl']}
end

file '/tmp/test.txt' do
    sensitive true
    content lazy { "!USERNAME=#{node.run_state['cred1']['UserName']}\nPASSWORD=#{node.run_state['cred1']['Content']}\nDatabase=#{node.run_state['cred1']['Database']}\n" }
    only_if { node.run_state.key?('cred1') }
end

License & Authors

Copyright 2017, CyberArk Software, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

initial CHANGELOG

This file is used to list changes made in each version of the cyberark cookbook.

0.1.0

  • [Edward Nunez] - Initial release of cyberark

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric
            

1.0.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

1.0.0 passed this metric

License Metric
            

1.0.0 passed this metric

No Binaries Metric
            

1.0.0 passed this metric

Publish Metric
            

1.0.0 passed this metric

Supported Platforms Metric
            

1.0.0 failed this metric

cyberark should declare what platform(s) it supports.

Testing File Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

1.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number