api icon indicating copy to clipboard operation
api copied to clipboard

VulnersVscanner not in module?

Open u-ashish opened this issue 4 years ago • 5 comments

I was reading the documentation here: https://docs.vulners.com/vscanner/

Which mentions installing this library and then running

import vulners

vulners_api = vulners.VulnersVscanner(api_key="YOUR_API_KEY_HERE")

But it keeps saying VulnersVscanner isn't in the module.

I also looked at an older issue here (https://github.com/vulnersCom/api/issues/25) and noticed someone used:

vulners_api = vulners.VScannerApi(api_key=api_key)

But that doesn't work for me either; I only see vulners.Vulners(...) being accessible in this package (and that's all I see in the source code, too).

Could someone point me in the right direction about which package to install to access the vscanner module?

I installed vulners via pip env install vulners and it is on version 1.5.11

u-ashish avatar Jul 18 '21 16:07 u-ashish

It’s new api and it is available only from the branch v2.0. You can install it directly from GitHub

Вс, 18 июля 2021 г. в 19:53, Ashish Uppala @.***>:

I was reading the documentation here: https://docs.vulners.com/vscanner/

Which mentions installing this library and then running

import vulners

vulners_api = vulners.VulnersVscanner(api_key="YOUR_API_KEY_HERE")

But it keeps saying VulnersVscanner isn't in the module.

I also looked at an older issue here (#25 https://github.com/vulnersCom/api/issues/25) and noticed someone used:

vulners_api = vulners.VScannerApi(api_key=api_key)

But that doesn't work for me either; I only see vulners.Vulners(...) being accessible in this package (and that's all I see in the source code, too).

Could someone point me in the right direction about which package to install to access the vscanner module?

I installed vulners via pip env install vulners and it is on version 1.5.11

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vulnersCom/api/issues/26, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFGDCPKVORYGTHW54CZ7ALTYMBHVANCNFSM5ASJYBHA .

--

С уважением,

Чурин Андрей

Руководитель отдела технического анализа

Positive Technologies R&D

Tel: +7 (495) 744-0144 Fax: +7 (495) 744-0187

E-mail: @.*** @.***?subject=>

www.ptsecurity.ru www.maxpatrol.ru www.securitylab.ru

aachurin avatar Jul 18 '21 17:07 aachurin

Thanks @aachurin -- do you know when it's slated for an official release?

u-ashish avatar Jul 18 '21 19:07 u-ashish

No, it’s beta. Release will be soon ) Вс, 18 июля 2021 г. в 22:54, Ashish Uppala @.***>:

Thanks @aachurin https://github.com/aachurin -- do you know when it's slated for an official release?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/vulnersCom/api/issues/26#issuecomment-882108773, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFGDCJEZJJMSKG5A4BCEZ3TYMWNRANCNFSM5ASJYBHA .

--

С уважением,

Чурин Андрей

Руководитель отдела технического анализа

Positive Technologies R&D

Tel: +7 (495) 744-0144 Fax: +7 (495) 744-0187

E-mail: @.*** @.***?subject=>

www.ptsecurity.ru www.maxpatrol.ru www.securitylab.ru

aachurin avatar Jul 18 '21 20:07 aachurin

Thanks -- I have a few other questions but let me know if it makes more sense to put them in a separate issue / ask elsewhere:

  • Is it possible to create a task for manual execution without being on a cron schedule? i.e. right now I can create a project, create a task with a cron schedule string, and then execute it manually. I noticed that I have to make sure it is in an enabled state. Can I make a task without a schedule, or with a schedule but in a disabled state (so the cron doesn't trigger it) and then trigger it myself only when I want? I have been circumventing this by setting the schedule to run in the following month, then triggering immediately and then deleting after it finishes.

u-ashish avatar Jul 19 '21 00:07 u-ashish

Yes, you can do that. Create the task with a cron schedule in the past (last month, for example) and use start_task method. After the task starts (it doesn't start instantly), you can delete the task.

Пн, 19 июля 2021 г. в 03:12, Ashish Uppala @.***>:

Thanks -- I have a few other questions but let me know if it makes more sense to put them in a separate issue / ask elsewhere:

  • Is it possible to create a task for manual execution without being on a cron schedule? i.e. right now I can create a project, create a task with a cron schedule string, and then execute it manually. I noticed that I have to make sure it is in an enabled state. Can I make a task without a schedule, or with a schedule but in a disabled state (so the cron doesn't trigger it) and then trigger it myself only when I want? I have been circumventing this by setting the schedule to run in the following month, then triggering immediately and then deleting after it finishes.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/vulnersCom/api/issues/26#issuecomment-882139591, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFGDCMBNNJPMCK4YJFWK7TTYNUVNANCNFSM5ASJYBHA .

--

С уважением,

Чурин Андрей

Руководитель отдела технического анализа

Positive Technologies R&D

Tel: +7 (495) 744-0144 Fax: +7 (495) 744-0187

E-mail: @.*** @.***?subject=>

www.ptsecurity.ru www.maxpatrol.ru www.securitylab.ru

aachurin avatar Jul 19 '21 18:07 aachurin