diff --git a/tests/apitests/python/library/cosign.py b/tests/apitests/python/library/cosign.py
index 00e8a98b7..e87f8bf91 100644
--- a/tests/apitests/python/library/cosign.py
+++ b/tests/apitests/python/library/cosign.py
@@ -17,9 +17,9 @@ def sign_artifact(artifact):
     print("*******Start coisgn sign artifact********")
     allow_insecure = base.getenv_bool("ALLOW_INSECURE", default=True)
     if allow_insecure:
-        command = ["cosign", "sign", "-y", "--allow-insecure-registry", "--key", "cosign.key", artifact]
+        command = ["cosign", "sign", "-y", "--allow-insecure-registry", "--new-bundle-format=false", "--use-signing-config=false", "--key", "cosign.key", artifact]
     else:
-        command = ["cosign", "sign", "-y", "--key", "cosign.key", artifact]
+        command = ["cosign", "sign", "-y", "--new-bundle-format=false", "--use-signing-config=false", "--key", "cosign.key", artifact]
     base.run_command(command)
 
 def push_artifact_sbom(artifact, sbom_path, type="spdx"):
