Terminé

Microservice (API) to find the best CPE for an application using its name, version, and publisher

Job Description:

To understand this project, you must first understand the purpose and usage of CPE 2.3: [login to view URL]

I would like a standalone microservice created (preferably in PHP using CodeIgnitor 4) that accepts 4 strings as in a post request, and returns the top X matches based on the request. This is effectively a fuzzy search system that tries to find a CPE for an application version, should one exist in the dictionary. This could be a problem resolved by a machine learning model, natural language processing, and/or distance algorithms.

As guidance, the API could use Levenstein, keyword counting, Jaccard index, longest common substring, Hunt–Szymanski algorithm, Hamming distance, Damerau–Levenshtein, or a combination of the aforementioned algorithms. The selected algorithms should be used to find a match for the POSTed application in the CPE dictionary ([login to view URL]) should one exist.

The microservice/REST API itself is very simple. No authentication or security controls. Only one interface to POST the app data. The majority of the work will be perfecting the CPE matching process, and then enhacing the performance.

Inputs:

- (string) publisher

- (string) name

- (string) version

- (string) operating_system

Outputs:

- Array of arrays containign CPE matches with score:

[

[

"cpe": (string) cpe2.3_uri

"score": (int) closeness out of 100

]

]

Components:

- Local copy of the CPE dictionary

- REST request interface

The workflow:

- Request received containing publisher, name, version, operating_system.

- Service runs fuzzy search in local CPE dictionary for possible matches.

- Service runs each potential CPE through various distance/similarity algorithms.

- Service returns best CPE 2.3 match(es) if any are found. The returned CPE must match the application submitted (publisher, name, and version).

Worked example:

- User POSTs:

publisher: "Valve Corporation"

name: "Steam"

version: "2.10.91.91"

- System responds:

[

"cpe": "cpe:2.3:a:valve:steam:2.10.91.91:*:*:*:*:*:*:*",

"score": 90 (or whatever the distance score was)

]

It's really important that we do not return many false positives. Ideally, we require 98% accuracy (2 false positives for every 100 requests).

Some rules... we're only interested in CPEs where:

1) The "version" is not "-".

2) The value of "part" is "a"

3) "update" is "*"

4) "target_sw" is one of ['*', 'windows', 'windows_10', 'windows_server', 'x64', 'x86', '.net', '.net_framework', 'desktop', 'edge', 'internet_explorer', 'internet_explorer_10', 'internet_explorer_11']

5) "target_hw" is one of [('x64', 'x86', 'nuc', '-', '*', 'arm64', 'intel64', 'amd64')]

) The API should maintain an in-memory cache to speed up future repeat responses

Here are some examples of false positives:

Request 1:

"Microsoft .NET Framework Targeting Pack","4.8.04161","Microsoft Corporation"

Response 1:

"Microsoft .NET Framework Targeting Pack","4.8.04161","Microsoft Corporation"

Request 2:

"Citrix Workspace Inside","[login to view URL]","Citrix Systems, Inc.","Windows"

Response 2:

"Citrix Workspace 2102 for Windows","cpe:2.3:a:citrix:workspace:2102:*:*:*:*:windows:*:*","citrix","workspace","2102"

Request 3:

"Office","18.2205.1091.0","Microsoft Corporation"

Response 3:

"Microsoft Office","cpe:2.3:a:microsoft:office:-:*:*:*:*:*:*:*","microsoft","office","-"

Attachments:

- [login to view URL] is a list of example inputs

Other people/projects that have attempted this for inspiration (I've tried all, none of them work correctly or are accurate enough):

- [login to view URL] and [login to view URL]

- [login to view URL]

- [login to view URL]

Compétences : Architecture Logicielle, PHP, Codeigniter, RESTful API, API

Concernant le client :
( 3 commentaires ) London, United Kingdom

Nº du projet : #34553244

Décerné à:

(8 Commentaires)
5.9

46 freelances font une offre moyenne de 1193 £ pour ce travail

OutsourceMan

Good Morning, I am Raman. I can help you with microservice (api) to find the best cpe for an application using its name, version, and publishinger . Yes, I have seen the details and understood your Requirements. A Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 15 jours
(536 Commentaires)
8.8
saubhagyamweb

Hi there, I am a professional and Expert developer with 6+ years hands-on experience in Software Development. I'm very much confident to deliver the quality project as per your need. I do have the necessary skill set Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 7 jours
(46 Commentaires)
6.8
teemnyydev

Hello. I am good fit for your API Developer role as I have a serious experience in websites development with CodeIgniter and Laravel. Since 2016, I have developed sorts of websites and apps using Laravel, Vue.js, React Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 7 jours
(11 Commentaires)
6.2
vasylivanovych

Hello , I just read your job posting and it sounds like you need RESTful API, Software Architecture, Codeigniter, API and PHP. I am a senior developer and have been working in this field 4+ years. I'm very interested i Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 12 jours
(5 Commentaires)
5.6
braincenter

Hello, I hope this message finds you well, Thanks for posting such an interesting project. I'm the exact type of contractor you are searching for. Having worked on similar projects for the past 10 years, I can handle Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 7 jours
(11 Commentaires)
4.8
artemsergiev96

Dear client I have over 5 years experience of website development using PHP. My main skill is CodeIgniter. I have experience to develop project similar your project. I read your requirements carefully and I think I can Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 7 jours
(5 Commentaires)
4.3
eduardoherreral4

Greetings! I can help you with your project at a high level! I have lots of experience in microservices, RESTful API. My skills and experience is a great match for your needs. Looking forward to hearing from you. Bes Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 7 jours
(10 Commentaires)
4.1
romandevshev

Hello there. Hope you're having a great weekend. I finished a Bachelor's degree in Computer Science, so really familiar with all the technical words, like levenshtein and hamming distance. Have you found a proper fre Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 2 jours
(3 Commentaires)
3.8
wicked8261

Hello I already noticed your details in job posting. I am well skilled full-stack developer having great experience in Software Architecture, RESTful API, PHP, API and Codeigniter. Website will be responsiveness fo Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 12 jours
(3 Commentaires)
3.2
arkasmol

Hi, Thank you for your detailed explaination about the project. I am really excited to bid on this scientific project. I can commit full-time expertise and energy with responsiveness and reliability. Hope to work toge Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 15 jours
(6 Commentaires)
3.2
draganasto

Greetings, I've thought about your job carefully – “Microservice (API) to find the best CPE for an application using its name, version, and publisher ”. It feels like it is meant for me. I have solid knowledge about Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 7 jours
(4 Commentaires)
2.6
ramtech005

Hi there! I’ve read your brief and can see that you’d like to build a website and all as you mention Well, let me introduce myself and my team, Myself Ramesh and I am highly experienced for this project and my entire Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 7 jours
(4 Commentaires)
2.6
Bestwebfreelanc

Hello Michael M., I went through your project description and it seems like I am fit for this job. For more details, you can see my freelancer profile that is https://www.freelancer.com/u/Bestwebfreelanc Please c Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 7 jours
(6 Commentaires)
3.2
abdf2010

Hi, It is easy, I can do on time. I work online, where you can track progress of your project. I have 6 years of experience in development(websites, web applications, mobile apps, desktop applications, I/UX), using PHP Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 2 jours
(3 Commentaires)
0.5
duanh2003

Hello, there, how are you? I am a software developer who has experience in Microservices, Microsoft Azure for a long time and I already worked on many C# projects such as ASP.net, .Net Core. Also, I know well about Na Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 7 jours
(0 Commentaires)
0.0
amazeez1100

Hi. Nice to meet you. Senior Software Architect and Engineer specialized in Backend and Front-ends. Well-versed in numerous programming languages including Javascript,TypeScript, HTML, CSS, PHP, SQL; CPE is structured Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% GBP en 7 jours
(0 Commentaires)
0.0