|
@@ -70,7 +70,7 @@ for region in regions:
|
|
|
print("FOUND in profile '" + PROFILE + "', Region: '" + region + "': ID=" + str(sg['SecurityGroups'][0]['GroupId']))
|
|
|
if FOUND > 1:
|
|
|
FOUNDSTR = FOUNDSTR + "\n"
|
|
|
- FOUNDSTR = FOUNDSTR + "FOUND in profile '" + PROFILE + "', Region: '" + region
|
|
|
+ FOUNDSTR = FOUNDSTR + "FOUND in profile '" + PROFILE + "', Region: '" + region + "'; ID=" + str(sg['SecurityGroups'][0]['GroupId'])
|
|
|
continue
|
|
|
except botocore.exceptions.ClientError as e:
|
|
|
if DEBUG >= 2:
|
|
@@ -92,7 +92,7 @@ for region in regions:
|
|
|
print("FOUND in profile '" + PROFILE + "', Region: '" + region + "': ID=" + str(sg['SecurityGroups'][0]['GroupId']))
|
|
|
if FOUND > 1:
|
|
|
FOUNDSTR = FOUNDSTR + "\n"
|
|
|
- FOUNDSTR = FOUNDSTR + "FOUND in profile '" + PROFILE + "', Region: '" + region
|
|
|
+ FOUNDSTR = FOUNDSTR + "FOUND in profile '" + PROFILE + "', Region: '" + region + "'; ID=" + str(sg['SecurityGroups'][0]['GroupId'])
|
|
|
continue
|
|
|
except IndexError:
|
|
|
if DEBUG >= 2:
|