Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error validating scan types: invalid character '<' looking for beginning of value #454

Closed
azizabah opened this issue Nov 30, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@azizabah
Copy link

Describe the bug

The Checkmarx AST@2 task is throwing an error:

Creating directory Error validating scan types: invalid character '<' looking for beginning of value Exit code received from AST-CLI: 1

Expected behavior

It doesn't throw an error.

Actual behavior

It throws an error.

Steps to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Environment

  • [AZURE PLUGIN version](task: Checkmarx AST@2)
  • Platform - Image: ubuntu-latest

Additional comments

Add any other context about the problem here.

Logs

2023-11-30T15:23:27.2264094Z ##[section]Starting: CheckmarxAST
2023-11-30T15:23:27.2268612Z ==============================================================================
2023-11-30T15:23:27.2268739Z Task : Checkmarx AST
2023-11-30T15:23:27.2268798Z Description : Add Secure Source Code Analysis inside your build process
2023-11-30T15:23:27.2268904Z Version : 2.0.28
2023-11-30T15:23:27.2268960Z Author : Checkmarx
2023-11-30T15:23:27.2269016Z Help : https://github.com/CheckmarxDev/checkmarx-ast-azure-plugin#readme
2023-11-30T15:23:27.2269479Z ==============================================================================
2023-11-30T15:23:29.3322131Z No client ID and secret configured
2023-11-30T15:23:29.3334629Z Project name: some-service
2023-11-30T15:23:29.3336232Z Branch name: $(System.PullRequest.SourceBranch)
2023-11-30T15:23:29.3337420Z Agent: Azure DevOps
2023-11-30T15:23:29.3339095Z Additional Params:
2023-11-30T15:23:29.3458589Z Creating directory
2023-11-30T15:23:29.4682336Z Error validating scan types: invalid character '<' looking for beginning of value
2023-11-30T15:23:29.4726029Z Exit code received from AST-CLI: 1
2023-11-30T15:23:29.4808641Z ##[section]Finishing: CheckmarxAST

@azizabah azizabah added the bug Something isn't working label Nov 30, 2023
Copy link

Internal Jira issue: AST-33047

@OrShamirCM
Copy link
Contributor

The issue can’t be reproduced. It happened when we had an error in one of our core servers. It's not a common issue and not related to the CLI (only the error message is).
I am closing as I can't reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants