Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
giterlizzi committed Nov 2, 2020
2 parents 5cc2b3b + a9f3d48 commit ef9ff82
Show file tree
Hide file tree
Showing 40 changed files with 1,795 additions and 735 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: perl
perl:
- "5.32"
- "5.30"
- "5.28"
- "5.26"
Expand Down
30 changes: 19 additions & 11 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
Revision history for Net::SecurityCenter

0.206 2020/07/22
0.300 2020-10-30
- Added support for API Authentication (added in Tenable.sc 5.13)
- Added "Net::SecurityCenter::API::Notification" class
- Added "App:TenableSC" class for CLI applications
- Improved "sc-api" table output
- Added supporto for API Authentication in "sc-api"
- Improved error handling
- Improved documentations
- Improved Perl "magic" features (wantarray)
- Code beautifications

0.206 2020-07-22
- Refactoring "Net::SecurityCenter" class
- Added "Net::SecurityCenter::API::Status" class
- Added "Net::SecurityCenter::API::DeviceInfo" class (added in Tenable.sc 5.12)
Expand All @@ -13,33 +24,31 @@ Revision history for Net::SecurityCenter
- Improved documentations
- Added more tests

0.205 2020/01/31
0.205 2020-01-31
- Added new Net::SecurityCenter::API::ScanResult methods
- import
- reimport
- email
- Improved Net::SecurityCenter::API::ScanResult->stop method (added "type=>import")

0.204 2019/11/06
0.204 2019-11-06
- Removed "List::Util" dependency (fix Bug #130874)

0.203 2019/10/29
0.203 2019-10-29
- Added initial support for Tenable.sc 5.12
- Added "Net::SecurityCenter::API::Scanner::health" method
- Renamed "Net::SecurityCenter::API::Scanner->get_status" method to "Net::SecurityCenter::API::Scanner->status"
- Renamed "Net::SecurityCenter::API::ScanResult->get_status" method to "Net::SecurityCenter::API::ScanResult->status"
- Renamed "Net::SecurityCenter::API::ScanResult->get_progress" method to "Net::SecurityCenter::API::ScanResult->progress"

0.202 2019/09/10
0.202 2019-09-10
- Added "download" method for Analysis API


0.201 2019/07/12
0.201 2019-07-12
- Fixed documentation issue
- Added missing file in MANIFEST


0.200 2019/07/02
0.200 2019-07-02
- Created new API structure and splitted Net::Security::Center class in
indipendent API modules:
- Analisys
Expand All @@ -60,7 +69,6 @@ Revision history for Net::SecurityCenter
- Improved documentation
- Improved test suite
- Added support for Log::Log4perl and Log::Any logging modules


0.100 2018/12/28
0.100 2018-12-28
- initial release
11 changes: 10 additions & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
bin/sc-api
Changes
INSTALL.md
lib/App/TenableSC.pm
lib/App/TenableSC/API.pm
lib/App/TenableSC/Logger.pm
lib/App/TenableSC/Utils.pm
lib/Net/SecurityCenter.pm
lib/Net/SecurityCenter/API.pm
lib/Net/SecurityCenter/API/Analysis.pm
lib/Net/SecurityCenter/API/Credential.pm
lib/Net/SecurityCenter/API/DeviceInfo.pm
lib/Net/SecurityCenter/API/Feed.pm
lib/Net/SecurityCenter/API/File.pm
lib/Net/SecurityCenter/API/Notification.pm
lib/Net/SecurityCenter/API/Plugin.pm
lib/Net/SecurityCenter/API/PluginFamily.pm
lib/Net/SecurityCenter/API/Policy.pm
Expand All @@ -20,6 +24,7 @@ lib/Net/SecurityCenter/API/Status.pm
lib/Net/SecurityCenter/API/System.pm
lib/Net/SecurityCenter/API/User.pm
lib/Net/SecurityCenter/API/Zone.pm
lib/Net/SecurityCenter/Base.pm
lib/Net/SecurityCenter/Error.pm
lib/Net/SecurityCenter/REST.pm
lib/Net/SecurityCenter/Utils.pm
Expand All @@ -32,6 +37,10 @@ t/10-rest.t
t/20-utils.t
t/99-local.t
t/manifest.t
t/mock/rest-analysis-post.json
t/mock/rest-currentUser-get.json
t/mock/rest-notification-39-get.json
t/mock/rest-notification-get.json
t/mock/rest-plugin-0-get.json
t/mock/rest-plugin-get.json
t/mock/rest-pluginFamily-1000030-get.json
Expand Down
3 changes: 2 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ WriteMakefile(
PREREQ_PM => {
'JSON' => '0',
'Time::Piece' => '0',
'LWP::UserAgent' => 6.04,
'LWP::UserAgent' => '6.04',
'version' => '0.77'
},
META_MERGE => {
'meta-spec' => { version => 2 },
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Net::SecurityCenter;
my $sc = Net::SecurityCenter('sc.example.org') or die "Error: $@";

$sc->login('secman', 'password');
$sc->login(username => 'secman', password => 's3cr3t');

if ($sc->error) {
print "Failed login: " . $sc->error;
Expand Down
Loading

0 comments on commit ef9ff82

Please sign in to comment.