Skip to content
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
1 change: 1 addition & 0 deletions src/extensions/nginx-app-protect/nap/nap_release.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
func NewNAPReleaseMap() *NAPReleaseMap {
return &NAPReleaseMap{
ReleaseMap: map[string]NAPRelease{
"3.12": NAPRelease3_12(),
"3.11": NAPRelease3_11(),
"3.10": NAPRelease3_10(),
"3.9.1": NAPRelease3_9_1(),
Expand Down
31 changes: 31 additions & 0 deletions src/extensions/nginx-app-protect/nap/releases.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
package nap

// NAPRelease3_12 returns information regarding packages and versioning for NAP release
// version 3.12.
func NAPRelease3_12() NAPRelease {
return NAPRelease{
NAPPackages: NAPReleasePackages{
Alpine310: "",
AmazonLinux2: "app-protect-27+3.1088.1-1.el7.ngx.x86_64.rpm",
Centos7: "app-protect-27+3.1088.1-1.el7.ngx.x86_64.rpm",
Debian9: "",
Debian10: "app-protect_27+3.1088.1~buster_amd64.deb",
Redhat7: "app-protect-27+3.1088.1-1.el7.ngx.x86_64.rpm",
Redhat8: "app-protect-27+3.1088.1-1.el8.ngx.x86_64.rpm",
Ubuntu1804: "app-protect_27+3.1088.1~bionic_amd64.deb",
Ubuntu2004: "app-protect_27+3.1088.1~focal_amd64.deb",
},
NAPCompilerPackages: NAPReleasePackages{},
NAPEnginePackages: NAPReleasePackages{},
NAPPluginPackages: NAPReleasePackages{},
NAPPlusModulePackages: NAPReleasePackages{},
VersioningDetails: NAPVersioningDetails{
NAPBuild: "3.1088.1",
NAPCompiler: "10.139.1",
NAPEngine: "10.139.1",
NAPPlugin: "3.1088.1",
NAPPlusModule: "27+3.1088.1",
NAPRelease: "3.12",
NginxPlus: "27",
},
}
}

// NAPRelease3_11 returns information regarding packages and versioning for NAP release
// version 3.11.
func NAPRelease3_11() NAPRelease {
Expand Down