Salt (software)

Salt (sometimes referred to as SaltStack) is Python-based, open-source software for event-driven IT automation, remote task execution, and configuration management. Supporting the "Infrastructure as Code" approach to data center system and network deployment and management, configuration automation, SecOps orchestration, vulnerability remediation, and hybrid cloud control.

Salt
Developer(s)Thomas S Hatch
Initial release19 March 2011 (2011-03-19)
Stable release
3001.1 / 7 August 2020 (2020-08-07)[1]
Repository
Written inPython
Operating systemUnix-like, OS X, Microsoft Windows
TypeConfiguration management and Infrastructure as Code
LicenseApache License 2.0
Websitewww.saltstack.com/ 

History of the Salt open source automation engine

Remote execution

Salt originated from the need for high-speed data collection and task execution for data center systems administrators managing massive infrastructure scale and resulting complexity. The author of Salt, Thomas S. Hatch, had previously created several utilities for IT teams to solve the problem of systems management at scale, but found these and other open source solutions to be lacking.[2] Hatch decided to use the ZeroMQ messaging library to facilitate the high-speed requirements and built Salt using ZeroMQ for all networking layers.

Configuration management

In late May 2011 initial progress was made toward the delivery of configuration management built on the Salt remote execution engine.[3] This configuration management system stores all configuration (state) data inside an easily understood data structure that leverages YAML. While experimental functionality of the Salt State system was available in May 2011, it was not considered stable until the release of Salt 0.9.3 in November 2011.[4]

Cloud control

The Salt 0.14.0 release introduced an advanced cloud control system making private and public cloud VMs directly manageable with Salt. The Salt Cloud function allows for provisioning of any hybrid cloud host, then exposes Salt remote execution, configuration management, and event-driven automation capabilities to the newly provisioned hybrid cloud systems. New virtual machines and cloud instances are automatically connected to a Salt Master after creation.

Salt Cloud supports 25 public and private cloud systems including AWS, Azure, VMware, IBM Cloud, and OpenStack. Salt Cloud provides an interface for Salt to interact with cloud hosts and the cloud’s functionality such as DNS, storage, load balancers, etc.

Salt architectural design

Salt was designed to be highly modular and easily extensible, to make it easy to mold to diverse enterprise IT use cases.[5]

The module design of Salt creates Python modules that handle certain aspects of the available Salt systems. These modules allow for the interactions within Salt to be detached and modified to suit the needs of a developer or system administrator.

Module types

The Salt system maintains many module types to manage specific actions. Modules can be added to any of the systems that support dynamic modules. These modules manage all the remote execution and state management behavior of Salt. The modules can be separated into six groups:

  • Execution modules are the workhorse for Salt's functionality. They represent the functions available for direct execution from the remote execution engine. These modules contain the specific cross platform information used by Salt to manage portability, and constitute the core API of system level functions used by Salt systems.[6]
  • State modules are the components that make up the backend for the Salt configuration management system. These modules execute the code needed to enforce, set up or change the configuration of a target system. Like other modules, more states become available when they are added to the states modules.
  • Grains are a system for detecting static information about a system and storing it in RAM for rapid gathering.[7]
  • Renderer modules are used to render the information passed to the Salt state system. The renderer system is what makes it possible to represent Salt's configuration management data in any serializable format.[8]
  • Returners: the remote execution calls made by Salt are detached from the calling system; this allows the return information generated by the remote execution to be returned to an arbitrary location. Management of arbitrary return locations is managed by the Returner Modules.[9]
  • Runners are master side convenience applications executed by the salt-run command.[10]

Vulnerabilities

In April 2020, F-Secure revealed two high severity RCE (Remote Code Execution) vulnerabilities, identified as CVE-2020-11651 and CVE-2020-11652, with CVSS score reaching as high as 10. These critical vulnerabilities were found within Salt's default communication channel ZeroMQ, and the initial research discovered 6000 vulnerable Salt servers. Salt organization was notified before F-Secure's public announcement, and Salt soon released the patch in its updated releases: 2019.2.4 and 3000.2.[11]

gollark: On an unrelated note, X5uoWNPbUWeAL2KFwBmL/cM11btkzBk6aten3f0Feic32YQ0IIlvhFeImQgy32VlivnVHD2EROFo0zZlgoWNkEMxj91YvzXYitpFhiw6stqnlnYYLws1xadULwmgz61YssCaZjSqdb55HjEiHxO9z5MuE8oGkXd5SGpm9giJYks.
gollark: I IKR, right? GTech™ memetics are highly.
gollark: Oh, I already deployed it.
gollark: We memetically bombard this with the idea that the current situation is not optimal, and THEN genericize them.
gollark: Of course.

See also

References

  1. "Releases - saltstack/salt". Retrieved 12 May 2017 via GitHub.
  2. "FLOSS Weekly 191: Salt". TwitTV. Retrieved 2020-01-13.
  3. "red45.wordpress.com salt configuration management". red45.wordpress.com. Retrieved May 29, 2011.
  4. "Salt Release Notes - 0.9.3". saltstack. Retrieved Nov 6, 2011.
  5. "FLOSS Weekly 191: Salt". TwitTV. Retrieved 2020-01-13.
  6. "Writing Execution Modules". SaltStack. Retrieved 2020-01-13.
  7. "Salt Module Reference". SaltStack. Retrieved 2020-01-13.
  8. "Renderers". SaltStack. Retrieved 2020-01-13.
  9. "Returners". SaltStack. Retrieved 2020-01-13.
  10. "Runners". SaltStack. Retrieved 2020-01-13.
  11. "Critical SaltStack Vulnerability Provides Root Access to Cyberattacker". Hack Reports. 2020-05-05. Retrieved 2020-05-18.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.