Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
RabbitMQ based PaperTrail replacement
Saseo has two primary responsibilities:
Saseo uses triggers to temporarily store changes to a local staging table. Saseo provides a stateless executable, saseo_publisher
, that reads the records from that table, publishes them to a RabbitMQ Headers Exchange, then deletes them from the local staging table.
Because the messages are published in this way, the data is available to ANY AND ALL clients that can connect to RabbitMQ.
Attribute | Details | Header* | Payload** |
---|---|---|---|
table_name | name of the table the record is from | X | |
action | INSERT , UPDATE , or DELETE | X | |
whodunnit | the user or other entity responsible for the change | X | |
item_id | value, if any, of the id field from the record | X | |
item_uuid | value, if any, of the id field from the record | X | |
transaction_id | transaction_id from the source DB | X | |
locale | I18n.locale of the publisher | X | |
database | source database name for the record | X | |
schema | source schema name for the record | X | |
id | uuid of the saseo version | X | |
old_data | JSON representation of the record before the change | X | |
new_data | JSON representation of the record after the change | X | |
action_timestamp | timestamp from the transaction | X |
* Header: attribute that can be subscribed to
** Payload: attribute that can NOT be subscribed to, only accessible once the message is received
Saseo provides a stateless executable, saseo_consumer
, that subscribes to RabbitMQ to pick up the canges published by saseo_publisher
and persists them to a database specified by config. Saseo currently creates one table for every tracked table.
Column | Type | Modifiers |
---|---|---|
id | uuid | not null default uuid_generate_v4() |
transaction_id | bigint | not null |
item_id | bigint | |
item_uuid | uuid | |
action | character varying | not null |
action_timestamp | timestamp with time zone | not null |
whodunnit | character varying | not null |
changeset | jsonb | not null |
new_data | jsonb |
Add this line to your application's Gemfile:
gem 'saseo'
And then execute:
$ bundle
Or install it yourself as:
$ gem install saseo
TODO: Write usage instructions here
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/avantcredit/saseo.
FAQs
Unknown package
We found that saseo 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.