Comments (3)
This looks good! What error are you seeing?
from nessus-es.
Breaking down your command I think I see your issue, here is what is happening at the surface level:
.\Invoke-NessusTo-Elastic.ps1
Starting Script
This looks good
-Nessus_URL "https://192.168.4.59:8834/"
This is the URL of your Nessus scanner. Also the / at the end of the URL won't work. See the example in the script.
This is a problem and the script will never work
-Nessus_File_Download_Location "D:\result-nessus"
This appears to be a Windows device and you want files exported from Nessus to this directory
This looks good
-Nessus_Access_Key "redacted"
This is your Nessus Access key. I recommend redacting these keys in the future.
This looks good
-Nessus_Secret_Key "redacted"
This is your Nessus Secret key. I recommend redacting these keys in the future.
This looks good
-Nessus_Source_Folder_Name "/opt/nessus/var/nessus/users/Nessus/reports/"
This is the Nessus source Folder name that should be found in the UI when you log into Nessus. By default this is My Scans. You put a directory here, so this will not work This is a problem and the script will never work
-Nessus_Archive_Folder_Name "Archive-Ingested"
This is another Nessus folder name in the UI where you want the scans to go. If this is not created, you will need to create it before the scans can be moved from the source folder name to this folder after files get exported.
This looks good if you have this folder created in the Nessus UI.
-Export_Scans_From_Today "false"
This telling the script to only export scans from today, which you are not.
This looks good
-Export_Day "01/11/2024"
This is the day you want to export all scans from.
This looks good
-Export_Custom_Extended_File_Name_Attribute "scan"
This is what gets added to the end of the scan name when it is exported locally. In your case to D:\result-nessus and your scan name will end with _scan
This looks good, but is not required
-Elasticsearch_URL "http://192.168.100.169:9200/"
This is the URL for where your Nessus data needs to be ingested. Make sure you run the setup step 0 before exporting your Nessus scans for ingest! Also the / at the end of the URL won't work. See the example in the script.
This is a problem and the script will never work
-Elasticsearch_Index_Name "logs-nessus.vulnerability"
This is the index name/data stream that will be used. This is the default so you don't need this setting.
This looks good, but is not required
-Elasticsearch_Api_Key "redacted:redacted"
This is supposed to be the API key for Elasticsearch. This is an incorrect format and needs to be Base 64 encoded. Having the ID:Key format will not work. Also, do not share API keys either as they are secret keys.
This is a problem and the script will never work
from nessus-es.
Closing since there has been no response in the last 30 days.
from nessus-es.
Related Issues (8)
- Revamp code, data, and visuals HOT 1
- Consolidate scripts for ease of use ✨️
- [Bug] Fix Scan History Export Option
- [Feature Limitation] Delete Scan History via API (Option 6) only works with Nessus Manager HOT 2
- Name of scan is not preserved on export option HOT 1
- Simplify OS Name in Nessus Data Export (host.os.name)
- CISA KEV Integration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nessus-es.