
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Ruby generated GRPC client for Aserto directory
Add this line to your application's Gemfile:
gem 'aserto-directory'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install aserto-directory
require 'aserto/directory'
request = Aserto::Directory::Reader::V3::GetObjectRequest.new(
object_type: "user",
object_id: 'aaronp@acmecorp.com'
)
client = Aserto::Directory::Reader::V3::Reader::Stub.new(
"directory.eng.aserto.com:8443",
GRPC::Core::ChannelCredentials.new
)
begin
resp = client.get_object(
request,
{
metadata: {
"authorization": 'my-bearer-token',
"aserto-tenant-id": 'my-tenant-id'
}
}
)
# use response
puts resp.inspect
rescue GRPC::BadStatus => e
# handle error
puts e.inspect
end
Prerequisites: - Ruby >= 3.0.0 to run the code
After checking out the repo, run make buf-generate
to generate Ruby code.
Run bundle install
to install dependencies. Then, run bundle exec rspec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
Bug reports and pull requests are welcome on GitHub at https://github.com/aserto-dev/ruby-directory. This project is intended to be a safe, welcoming space for collaboration.
The gem is available as open source under the terms of the Apache-2.0 License.
FAQs
Unknown package
We found that aserto-directory demonstrated a healthy version release cadence and project activity because the last version was released less than 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
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.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.