You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @VaseemFathima-36 , if you are a Prisma Cloud customer, I suggest reaching out to your Customer Support / Solution Architect representative so they could assist you.
I was facing the same issue. and I so went on call with prisma and this is what they said.
I've tested this on my end, and confirmed that the policies need to be created on the Prisma Cloud platform in order for your results to appear in the UI.
Please note that Python policy creation is not supported in the platform, so you would need to switch to YAML to create your policy. For more information - https://docs.prismacloud.io/en/enterprise-edition/content-collections/governance/custom-build-policies/custom-build-policies
If you would like to continue to use your custom policies from your local directory, you will only see them when you run the Checkov scan in your local machine.
which means you can't see the report of custom policy created on your local machine. which is weird. coz it's just a report.
@VaseemFathima-36 please make sure your policies are enabled in the Governance page. Running your command with my Prisma credentials found Passed checks: 3, Failed checks: 3, Skipped checks: 0. If the policies are enabled, then as @Saarett mentioned, please open a support case.
*Describe the issue
I'm using below command to upload results from Azure Devops Pipeline Script to Prisma Cloud Dashboard using checkov.
checkov -d . --bc-api-key $Prisma_Access_Key::$Prisma_Secret_Key --prisma-api-url $PRISMA_API_URL --repo-id OrganizationName/ProjectName/RepoName --branch master --soft-fail --framework all
I have a docker file like below
Use the Eclipse Temurin 17 JRE Alpine image as a base image
FROM eclipse-temurin:17-jre-alpine
Expose port 8080
EXPOSE 8080
Add the application JAR file to the container
ADD target/sample.jar sample.jar
#Expose a secret
ENV SECRET_KEY="fggfhgjjj"
Command to run your application
ENTRYPOINT ["java","-jar","/sample.jar"]
when i give below command it is detecting issues in dockerfile
checkov -d .
but by using below command
checkov -d . --bc-api-key $Prisma_Access_Key::$Prisma_Secret_Key --prisma-api-url $PRISMA_API_URL --repo-id OrganizationName/ProjectName/RepoName --branch master --soft-fail --framework all
it is creating a CICD Run in Prisma Cloud Dashboard but with below message.
No Results Available
No failed issues were detected in this scan.
It should upload the Dockerfile issues to Prisma Cloud Dashboard right ?
The text was updated successfully, but these errors were encountered: