Skip to content

Fix hostOrIP helper in CascadingScans#1701

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

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

Conversation

@J12934

@J12934 J12934 commented Apr 21, 2023

Copy link
Copy Markdown
Member

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

github-actions Bot commented Apr 21, 2023

Copy link
Copy Markdown

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

@Ilyesbdlala Ilyesbdlala left a comment

Copy link
Copy Markdown
Member

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.

Comment thread hooks/cascading-scans/hook/hook.ts Outdated
@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
J12934 added a commit that referenced this pull request Jun 5, 2023
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