Skip to content

Fix hostOrIP helper in CascadingScans#1701

Merged
Weltraumschaf merged 18 commits intomainfrom
bugfix/fix-host-or-ip
Jun 5, 2023
Merged

Fix hostOrIP helper in CascadingScans#1701
Weltraumschaf merged 18 commits intomainfrom
bugfix/fix-host-or-ip

Conversation

@J12934
Copy link
Copy Markdown
Member

@J12934 J12934 commented Apr 21, 2023

Looking at this mess, i guess the better thing would be to clean this up (by standardizing ips like we did with hostname) before v4?

@J12934 J12934 force-pushed the bugfix/fix-host-or-ip branch from cb61259 to cc70b34 Compare April 21, 2023 19:33
@J12934 J12934 self-assigned this Apr 21, 2023
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 21, 2023

MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
⚠️ JAVASCRIPT eslint 20 1 0.63s
⚠️ SPELL misspell 24 1 0.06s
⚠️ TYPESCRIPT eslint 4 1 0.36s

See errors details in artifact MegaLinter reports on CI Job page
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

@secureCodeBox secureCodeBox deleted a comment from github-actions bot Apr 21, 2023
Ilyesbdlala
Ilyesbdlala previously approved these changes Apr 25, 2023
Copy link
Copy Markdown
Member

@Ilyesbdlala Ilyesbdlala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, apart from a small suggestion.

@J12934 J12934 force-pushed the bugfix/fix-host-or-ip branch from 95f6eb3 to a72b7e4 Compare June 2, 2023 09:25
@Ilyesbdlala
Copy link
Copy Markdown
Member

LGTM. But some scanners use NULL as a value for empty ip_adresses and some use undefined. AFAIK, it's better to use NULL. At least that's what I used here #1676

@Weltraumschaf Weltraumschaf merged commit 58983fb into main Jun 5, 2023
@Weltraumschaf Weltraumschaf deleted the bugfix/fix-host-or-ip branch June 5, 2023 11:01
@Weltraumschaf
Copy link
Copy Markdown
Member

LGTM. But some scanners use NULL as a value for empty ip_adresses and some use undefined. AFAIK, it's better to use NULL. At least that's what I used here #1676

I suggest to open a new PR for that, in hope we have more small short lived PRs 😬

J12934 added a commit that referenced this pull request Jun 5, 2023
J12934 added a commit that referenced this pull request Jun 5, 2023
Followup for #1701

Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
J12934 added a commit that referenced this pull request Jun 5, 2023
Followup for #1701

Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants