-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
None
-
None
-
5
-
False
-
-
False
-
-
-
GitOps Crimson Sprint 17, GitOps Crimson Sprint 18
Description of Problem
Error: REVERSE_INULL (CWE-476): [#def8]
rollout_extension/app/ui/src/index.tsx:22:9: deref: Accessing a property of "spec.strategy". rollout_extension/app/ui/src/index.tsx:24:23: check_after_deref: Checking "spec.strategy === null" suggests "spec.strategy" may be null, but it has already been used as a function or its properties have been accessed on all paths leading to the check. # 22| if (spec.strategy.canary) { # 23| ro.strategy = 'Canary'; # 24|-> const steps = spec.strategy?.canary?.steps || []; # 25| ro.steps = steps; # 26|
Error: REVERSE_INULL (CWE-476): [#def9]
rollout_extension/app/ui/src/index.tsx:203:33: deref: Accessing a property of "rs". rollout_extension/app/ui/src/index.tsx:225:34: check_after_deref: Checking "rs === null" suggests "rs" may be null, but it has already been used as a function or its properties have been accessed on all paths leading to the check. # 223| } # 224| } # 225|-> ownedReplicaSets[rs?.name] = { # 226| objectMeta: { # 227| name: rs.name,
Problem Reproduction
- SAST scan results from v1.16.0-15 RC
Fix Approaches
- TBD
Acceptance Criteria
- TBD
- clones
-
GITOPS-6629 SAST Scan Result: SIGMA.container_storing_secret_in_environment_variable (CWE-526)
-
- Closed
-