Commit 258bb4f4 authored by James Fargher's avatar James Fargher

Merge branch 'jsx-analyzer' into 'master'

Update eslint secure analyzer to analyze jsx

Closes #227608

See merge request gitlab-org/gitlab!36505
parents ad2aebd6 6a379692
---
title: Update eslint secure analyzer to analyze jsx
merge_request: 36505
author:
type: changed
......@@ -68,6 +68,7 @@ RSpec.describe 'SAST.gitlab-ci.yml' do
'Groovy' | { 'app.groovy' => '' } | {} | %w(spotbugs-sast secrets-sast)
'Java' | { 'app.java' => '' } | {} | %w(spotbugs-sast secrets-sast)
'Javascript' | { 'app.js' => '' } | {} | %w(eslint-sast secrets-sast)
'JSX' | { 'app.jsx' => '' } | {} | %w(eslint-sast secrets-sast)
'Javascript Node' | { 'package.json' => '' } | {} | %w(nodejs-scan-sast secrets-sast)
'HTML' | { 'index.html' => '' } | {} | %w(eslint-sast secrets-sast)
'Kubernetes Manifests' | { 'Chart.yaml' => '' } | { 'SCAN_KUBERNETES_MANIFESTS' => 'true' } | %w(kubesec-sast secrets-sast)
......
......@@ -94,6 +94,7 @@ eslint-sast:
exists:
- '**/*.html'
- '**/*.js'
- '**/*.jsx'
flawfinder-sast:
extends: .sast-analyzer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment