@@ -22,7 +22,7 @@ def get_repo_ss_alerts(api_endpoint, github_pat, repo_name):
2222 ss_alerts_default = api_helpers .make_api_call (url_default , github_pat )
2323
2424 # Second call: get generic secret types with hardcoded list, use after= to force object based cursor instead of page based
25- generic_secret_types = "password,http_basic_authentication_header,http_bearer_authentication_header,mongodb_connection_string,mysql_connection_string,openssh_private_key,pgp_private_key,postgres_connection_string,rsa_private_key"
25+ generic_secret_types = "password,ec_private_key, http_basic_authentication_header,http_bearer_authentication_header,mongodb_connection_string,mysql_connection_string,openssh_private_key,pgp_private_key,postgres_connection_string,rsa_private_key"
2626 url_generic = f"{ api_endpoint } /repos/{ repo_name } /secret-scanning/alerts?per_page=100&after=&secret_type={ generic_secret_types } &hide_secret=true"
2727 ss_alerts_generic = api_helpers .make_api_call (url_generic , github_pat )
2828
@@ -167,7 +167,7 @@ def get_org_ss_alerts(api_endpoint, github_pat, org_name):
167167 ss_alerts_default = api_helpers .make_api_call (url_default , github_pat )
168168
169169 # Second call: get generic secret types with hardcoded list, use after= to force object based cursor instead of page based
170- generic_secret_types = "password,http_basic_authentication_header,http_bearer_authentication_header,mongodb_connection_string,mysql_connection_string,openssh_private_key,pgp_private_key,postgres_connection_string,rsa_private_key"
170+ generic_secret_types = "password,ec_private_key, http_basic_authentication_header,http_bearer_authentication_header,mongodb_connection_string,mysql_connection_string,openssh_private_key,pgp_private_key,postgres_connection_string,rsa_private_key"
171171 url_generic = f"{ api_endpoint } /orgs/{ org_name } /secret-scanning/alerts?per_page=100&after=&secret_type={ generic_secret_types } &hide_secret=true"
172172 ss_alerts_generic = api_helpers .make_api_call (url_generic , github_pat )
173173
@@ -331,7 +331,7 @@ def get_enterprise_ss_alerts(api_endpoint, github_pat, enterprise_slug):
331331 ss_alerts_default = api_helpers .make_api_call (url_default , github_pat )
332332
333333 # Second call: get generic secret types with hardcoded list, use after= to force object based cursor instead of page based
334- generic_secret_types = "password,http_basic_authentication_header,http_bearer_authentication_header,mongodb_connection_string,mysql_connection_string,openssh_private_key,pgp_private_key,postgres_connection_string,rsa_private_key"
334+ generic_secret_types = "password,ec_private_key, http_basic_authentication_header,http_bearer_authentication_header,mongodb_connection_string,mysql_connection_string,openssh_private_key,pgp_private_key,postgres_connection_string,rsa_private_key"
335335 url_generic = f"{ api_endpoint } /enterprises/{ enterprise_slug } /secret-scanning/alerts?per_page=100&after=&secret_type={ generic_secret_types } &hide_secret=true"
336336 ss_alerts_generic = api_helpers .make_api_call (url_generic , github_pat )
337337
0 commit comments