Skip to content

Error while running the script #115

Description

@cihatyildiz

Hello,

I am trying to run the script un the /asset_priority_by_risk_meter/ folder and getting the following error message. Can you help me how to fix this issue?

$ ruby kenna-priority-by-risk-meter.rb $KENNA_TOKEN rm_meters_meta.csv  rmid priority
Currently processing page 1 of 12
Currently processing page 1 of 1
made it to bulk update
https://api.kennasecurity.com/assets/bulk
made it to bulk update
https://api.kennasecurity.com/assets/bulk
{"assets_updated"=>19}
kenna-priority-by-risk-meter.rb:266:in `rescue in block (3 levels) in <main>': uninitialized constant RestClient::TooManyRequests (NameError)
        from kenna-priority-by-risk-meter.rb:223:in `block (3 levels) in <main>'
$

I am using the tested ruby version on my server

$ ruby --version
ruby 2.0.0p648 (2015-12-16) [x86_64-linux]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions