
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
This library includes a configured controller, configured model and model factory supporting the SOAR reference implementation service component MVC. ConfiguredController provides access to soar_sc dependencies as and requesty body, as well as a configured and ready-to-use SMAAK client.
Add this line to your application's Gemfile:
gem 'soar_sc_mvc'
And then execute:
$ bundle
Or install it yourself as:
$ gem install soar_sc_mvc
Given a configuration with a provider adhering to SoarSc::Web::Models::ConfiguredModel, configured as follows:
{ 'providers' =>
{ 'my_provider' =>
{ 'adaptor' => 'MyAdaptorClass',
'some' => 'value' }
}
}
an instance of the model (MyAdaptorClass), readily configured with the configuration hierarchy
{ 'some' => 'value' }
can be obtained so:
model_factory = SoarSc::Web::Models::ModelFactory.new(configuration)
model = model_factory.create('my_provider')
class MyModel < SoarSc::Web::Models::ConfiguredModel
end
model = MyModel.new(configuration)
puts model.configuration
class MyController < SoarSc::Web::Controllers::ConfiguredController def serve(request) puts "Dependencies are: #{dependencies}" puts "body is #{body(requests)}" puts "I can use smaak client #{smaak_client}" [200, "100"] end end
controller = MyController.new(configuration)
Please send feedback and comments to the author at:
Ernst van Graan ernst.van.graan@hetzner.co.za
This gem is sponsored by Hetzner (Pty) Ltd - http://hetzner.co.za
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that soar_sc_mvc 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
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.