Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 4.47 KB

get_familiar.md

File metadata and controls

58 lines (46 loc) · 4.47 KB

Kosli Core Concepts

What are Kosli Environments and Snapshots?

  • Environments in Kosli monitor changes in your software runtime systems.
  • You create a Kosli Environment for each physical or virtual runtime environment you want to track.
  • An environment snapshot represents the reported status (running artifacts) of your runtime environment at a specific point in time.
  • Snapshots are immutable, append-only objects. Once a snapshot is created, it cannot be modified.
  • In each snapshot, Kosli links the running artifacts to the Flows that produced them.
  • Snapshot compliance relies on the compliance status of each running artifact, while environment compliance depends on its latest snapshot compliance.

What are Kosli Flows and Trails?

  • A Kosli Flow represents a business or software process for which you want to track changes and monitor compliance.
  • A Kosli Trail represents a single execution of a process represented by a Kosli Flow.
  • Each trail must have a unique identifier of your choice, based on your process and domain.
  • Example identifiers (for software processes) include git commits or pull request numbers.

cyber-dojo

There is a public Kosli Organization called cyber-dojo which you can explore without having to log into Kosli. It is the Kosli Organization for cyber-dojo, an open-source application for practicing TDD from your browser.

Explore Kosli Environments and Snapshots for cyber-dojo's AWS ECS Clusters

  • Each cyber-dojo repo CI pipeline deploys to two AWS ECS clusters:
  • Each Kosli Environment page has two main tabs:
    • Snapshots
      Each snapshot is numbered (from 1) and shows all the Artifacts running at a given moment in time and their compliance status. At the time of writing, there are 2793 snapshots for aws-prod, covering several years.
    • Log
      The log shows all the changes to individual Artifacts (and their compliance status) in the given Environment. The log is paginated, and at the time of writing there are 131 pages for aws-prod.

Explore Kosli Flows and Trails for cyber-dojo's Git repos

  • Cyber-dojo has 10 microservices, each with their own git repository.
  • There is a Kosli Flow for each repository's CI pipeline.
  • Each Kosli Flow contains a Kosli Trail for each commit to its corresponding repository. For example: