MCPcopy Create free account
hub / github.com/BishopFox/cloudfox / executeCheck

Method executeCheck

aws/databases.go:257–267  ·  view source on GitHub ↗
(check check)

Source from the content-addressed store, hash-verified

255}
256
257func (m *DatabasesModule) executeCheck(check check) {
258 res, err := check.serviceMap.IsServiceInRegion(check.service, check.region)
259 if err != nil {
260 m.modLog.Error(err)
261 }
262 if res {
263 m.CommandCounter.IncrTotal()
264 check.wg.Add(1)
265 go check.executor(check.region, check.wg, check.semaphore, check.dataReceiver)
266 }
267}
268
269func (m *DatabasesModule) executeRdsCheck(r string, wg *sync.WaitGroup, semaphore chan struct{}, dataReceiver chan Database, servicemap *awsservicemap.AwsServiceMap) {
270 m.executeCheck(check{

Callers 3

executeRdsCheckMethod · 0.95
executeRedshiftCheckMethod · 0.95
executeDynamoDbCheckMethod · 0.95

Calls 3

ErrorMethod · 0.80
IncrTotalMethod · 0.80
AddMethod · 0.80

Tested by

no test coverage detected