File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 86
86
});
87
87
const activeSecretScanningAlerts = secretScanningAlerts.data.filter(alert => alert.state === 'open');
88
88
core.setOutput('secret_scanning_alert_status', activeSecretScanningAlerts.length > 0 ? '1': '0');
89
- console.log("Active Secret Scanning Alerts", activeSecretScanningAlerts);
90
89
}
91
90
await checkAlerts();
92
91
@@ -119,4 +118,4 @@ jobs:
119
118
aws cloudwatch put-metric-data --metric-name SecretScanningAlert --namespace SecurityMonitoringMetrics --value 1 --unit Count --dimensions ProjectName=sagemaker-python-sdk
120
119
else
121
120
aws cloudwatch put-metric-data --metric-name SecretScanningAlert --namespace SecurityMonitoringMetrics --value 0 --unit Count --dimensions ProjectName=sagemaker-python-sdk
122
- fi
121
+ fi
You can’t perform that action at this time.
0 commit comments