Skip to content

Fix: Fix setting boolean values for reverse lookup in scan config.#1073

Merged
greenbonebot merged 1 commit into
mainfrom
fix-setting-reverse-lookup-values
May 20, 2026
Merged

Fix: Fix setting boolean values for reverse lookup in scan config.#1073
greenbonebot merged 1 commit into
mainfrom
fix-setting-reverse-lookup-values

Conversation

@a-h-abdelsalam
Copy link
Copy Markdown
Contributor

What

Use 1 and 0 instead of cJSON_True and cJSON_False to set boolean values for reverse lookup.

Why

Was always set to true in the scan config regardless of the value in target.

cJSON_AddBoolToObject expects cJSON_bool which is a type alias to int. See DaveGamble/cJSON#324

@a-h-abdelsalam a-h-abdelsalam requested review from a team as code owners May 19, 2026 15:41
@greenbonebot greenbonebot enabled auto-merge (rebase) May 19, 2026 15:41
@github-actions
Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 9eee0a7.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@greenbonebot greenbonebot merged commit 59de280 into main May 20, 2026
23 of 24 checks passed
@greenbonebot greenbonebot deleted the fix-setting-reverse-lookup-values branch May 20, 2026 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants