v0.2.0b1 #129
wwoytenko
announced in
Announcements
v0.2.0b1
#129
Replies: 1 comment
-
|
UPD: If you want to run a Greenmask playground for the beta version execute |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Greenmask 0.2.0b1
This major beta release introduces new features and refactored transformers, significantly enhancing Greenmask's flexibility to better meet business needs.
Changes overview
Introduced dynamic parameters in the transformers
cast_to. These functions cover frequent operations such asUnixTimestampToDateandIntToBool.The transformation logic has been significantly refactored, making transformers more customizable and flexible than before.
Introduced transformation engines
random- generates transformer values based on pseudo-random algorithms.hash- generates transformer values using hash functions. Currently, it utilizessha3hash functions, which are secure but perform slowly. In the stable release, there will be an option to choose betweensha3andSipHash.Introduced static parameters value template
Notable changes
Core
Parametrizerinterface, now implemented for both dynamic and static parameters.Driverinitialization logic.Driver.Parametrizerinterface.TransformationContext, as the first step towards enabling new feature transformation conditions (Feature: conditional transform #34).Documentation
Documentation has been significantly refactored. New information about features and updates to transformer descriptions have been added.
Transformers
RandomEmail - Introduces a new transformer that supports both random and deterministic engines. It allows for flexible email value generation; you can use column values in the template and choose to keep the original domain or select any from the
domainsparameter.NoiseDate, NoiseFloat, NoiseInt - These transformers support both random and deterministic engines, offering dynamic mode parameters that control the noise thresholds within the
minandmaxrange. Unlike previous implementations which used a singleratioparameter, the new release featuresmin_ratioandmax_ratioparameters to define noise values more precisely. Utilizing thehashengine in these transformers enhances security by complicating statistical analysis for attackers, especially when the same salt is used consistently over long periods.NoiseNumeric - A newly implemented transformer, sharing features with
NoiseIntandNoiseFloat, but specifically designed for numeric values (large integers or floats). It introduces aprecisionparameter to handle values with fractions.RandomChoice - Now supports the
hashengine, enhancing its utility and security.RandomDate, RandomFloat, RandomInt - Now enhanced with hash engine support. Threshold parameters
minandmaxhave been updated to support dynamic mode, allowing for more flexible configurations.RandomNumeric - A new transformer specifically designed for numeric types (large integers or floats), sharing similar features with
RandomIntandRandomFloat, but tailored for handling huge numeric values.RandomString - Now supports hash engine mode, enhancing its utility for generating secure, random strings.
RandomUnixTimestamp - This new transformer generates Unix timestamps with selectable units (
second,millisecond,microsecond,nanosecond). Similar in function toRandomDate, it supports the hash engine and dynamic parameters forminandmaxthresholds, with the ability to override these units usingmin_unitandmax_unitparameters.RandomUuid - Enhanced with hash engine support, this transformer now offers even greater security for UUID generation.
RandomPerson - Implemented a new transformer that replaces
RandomName,RandomLastName,RandomFirstName,RandomFirstNameMale,RandomFirstNameFemale,RandomTitleMale, andRandomTitleFemale. This new transformer offers enhanced customizability while providing similar functionalities as the previous versions. It generates personal data such asFirstName,LastName, andTitle, based on the providedgenderparameter, which now supports dynamic mode. Future minor versions will allow for overriding the default names database.Added tsModify - a new template function that enhances parameter customization.
Introduced a new RandomIp transformer capable of generating a random IP address based on the specified netmask.
Launched a new RandomMac transformer for generating random Mac addresses.
Deleted transformers include
RandomMacAddress,RandomIPv4,RandomIPv6,RandomUnixTime,RandomTitleMale,RandomTitleFemale,RandomFirstName,RandomFirstNameMale,RandomFirstNameFemale,RandomLastName, andRandomNamedue to the introduction of more flexible and unified options.Contributors
@dev-comrade
@wwoytenko
This discussion was created from the release v0.2.0b1.
Beta Was this translation helpful? Give feedback.
All reactions