Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nmap provider lr updates #4983

Merged
merged 1 commit into from
Dec 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@ jira
jsonbody
kqueue
labelmatchstatement
libdnet
liblua
libpcap
libpcre
libssh
libz
liveanalytics
loggingservice
managedrulegroupstatement
Expand All @@ -71,7 +65,6 @@ nmap
nodegroup
nodepool
notebookinstancedetails
nsock
nsrecord
nullgroup
nullstring
Expand Down Expand Up @@ -111,7 +104,6 @@ timestream
toplevel
tpu
vdcs
VNIC
Vtpm
vulnerabilityassessmentsettings
vulnmgmt
Expand Down
20 changes: 10 additions & 10 deletions providers/nmap/resources/nmap.lr
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
option provider = "go.mondoo.com/cnquery/v11/providers/nmap"
option go_package = "go.mondoo.com/cnquery/v11/providers/nmap/resources"

// nmap
// Nmap
nmap {
// Nmap version information
version() nmap.versionInformation
}

// nmap network
// Nmap network
nmap.network {
init(target string)
// Target IP address or hostname
Expand All @@ -21,7 +21,7 @@ nmap.network {
warnings() []string
}

// nmap host
// Nmap host
nmap.host @defaults("name") {
init(name string)
// Name of the host
Expand All @@ -46,7 +46,7 @@ nmap.host @defaults("name") {
state() string
}

// nmap port
// Nmap port
private nmap.port @defaults("port service"){
// Port number
port int
Expand All @@ -64,16 +64,16 @@ private nmap.port @defaults("port service"){
state string
}

// nmap version information
// Nmap version information
private nmap.versionInformation @defaults("version") {
// Version of nmap
// Version of Nmap
version string
// Platform nmap is running on
// Platform Nmap is running on
platform string
// libraries compiled with
// Libraries compiled with
compiledWith []string
// libraries not compiled with
// Libraries not compiled with
compiledWithout []string
// nsock engines
nsockEngines []string
}
}
Loading