aquasecurity / aquasecurity/cloudsploit

How to pass parameters in helpers.cache service command

Open
#133 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.8k
Forks
751
Avg merge
11d 9h
Merged PRs (30d)
3

Description

I am writing a new plugins ... in that I have to call `describeAlarmsForMetric()` and I need to pass paramters
````
var par = {MetricName: p.metricTransformations[0].metricName, Namespace: p.metricTransformations[0].metricNamespace };
```

so I am writing `helpers.cache(cache, cloudwatchlog, 'describeAlarmsForMetric', function(err, data) {`

But I cannot pass the paramters into it. Can you please help me regarding this How can I pass parametrs into this method.

Thanks in advance for help

Contributor guide

Open the contributing guide

Research direction

Start by locating the helpers.cache implementation and existing calls to the describeAlarmsForMetric service command in the plugins. Trace how service arguments are handled and verify the expected parameter behavior; done means the issue has a documented or tested way to pass these parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.