Skip to content
Loïc Gremaud edited this page Jul 6, 2015 · 3 revisions

Configuration

This chapter describes how to configure the Sirano application.

Files

All of configuration files for the Sirano application are stored in the data directory of each project (also for the default one) and they use all the YAML format.

There more information about the YAML format on http://www.yaml.org.

Config

The main configuration file is named config.yml, this configuration file. When creating a new project, this file is copied from the default project.

Any differences in this file relative to the default project are shown in a Diff/Patch file config-diff.patch after the execution of a command. It is recommanded to use a software that supports the syntax highlighting to read this file for example the Atom editor with the git-diff plugin (see Installation).

Note

This file is used in read only by Sirano, that is why you can add some comments if you want.

Data

There is a specific file for each data type, they are used to store and associate sensitive data with replacement values but they are used too to configure how values are grouped and anonymized.

  • domain.yml: The domain names.
  • ip.yml: IPv4 addresses with configurable subnets.
  • mac.yml: MAC addresses.
  • name.yml: Names
  • phone.yml: Phone numbers with configurable codes.

Note

There file is used in read/write by Sirano, that is why you can not add some comments because there will be removed after each generation, this is a limitation due to the PyYAML library.

Clone this wiki locally