
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
gem install omelettes
rails g omelettes:config
rake db:cook
After running 'rails g omelettes:config' you will find a config file in 'config/initializers/omelettes.rb'
Omelettes.setup do |config|
# Ignore tables or columns using strings or regular expressions
config.ignore_tables = ["schema_migrations", "my_reporting_table", /(a-z_)user/]
config.ignore_columns = [/(a-z_)*type/i, "name", "city"]
# Override non-standard table names => classes like this
# config.models['admin_users'] = Admin::User
# Override model specific columns
User.treat(:nickname).as(:name)
Person.scramble(:street) {|value| "#{value.reverse}"}
# Freeze / Ignore columns on specific models
User.harden(:password)
# To make a normally "Faker" obfuscated column behave normally, override with :omelette
User.scramble(:name).as(:omelette)
# To override the model associated with a specific table, make sure and specify it here:
config.models['logins'] = User
# Cleanup data in post
config.cleanup do
Notifications.delete_all
end
end
By default, the following columns will be Faker-ified (replaced with faker info RATHER than obfuscated using omelettes same-length-and-initial-character)
And the following can be used to 'treat' a column 'as':
You can also keep model-level configurations within the model itself
class User < ActiveRecord::Base
treat(:login).as(:user_name)
ignore :password
end
omelettets is obfuscated 'obfuscate'. Omelettes takes strings in your database and replaces them with worlds of the same length and same initial letter.
FAQs
Unknown package
We found that omelettes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.