diff --git a/pkg/test/ct_e2e/ct_e2e_test.go b/pkg/test/ct_e2e/ct_monitor_e2e_test.go similarity index 92% rename from pkg/test/ct_e2e/ct_e2e_test.go rename to pkg/test/ct_e2e/ct_monitor_e2e_test.go index 2a8ae55d..91e5bda3 100644 --- a/pkg/test/ct_e2e/ct_e2e_test.go +++ b/pkg/test/ct_e2e/ct_monitor_e2e_test.go @@ -26,6 +26,7 @@ import ( ctclient "github.com/google/certificate-transparency-go/client" "github.com/google/certificate-transparency-go/jsonclient" "github.com/sigstore/rekor-monitor/pkg/ct" + "github.com/sigstore/rekor-monitor/pkg/identity" ) const ( @@ -54,4 +55,13 @@ func TestCTConsistencyCheck(t *testing.T) { if err != nil { t.Errorf("failed to successfully complete consistency check: %v", err) } + + _, err = ct.IdentitySearch(fulcioClient, 0, 1, identity.MonitoredValues{ + CertificateIdentities: []identity.CertificateIdentity{ + { + CertSubject: "test-cert-subject", + Issuers: []string{}, + }, + }, + }) } diff --git a/pkg/test/ct_e2e/ct_e2e_test.sh b/pkg/test/ct_e2e/ct_monitor_e2e_test.sh similarity index 100% rename from pkg/test/ct_e2e/ct_e2e_test.sh rename to pkg/test/ct_e2e/ct_monitor_e2e_test.sh