Hi Alex.
Yes, 6.11 has a much richer API also for Guests.
Original Message:
Sent: Feb 28, 2024 02:40 AM
From: alagoutte
Subject: As Built Report for Aruba ClearPass
With 6.11 (and first release of the module), there is enforcement policies and profiles ;)
Role mapping will coming soon
I need to see what it is possible for onboarding and Guest with API...
------------------------------
PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...
PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)
PowerArubaCL: Powershell Module to use Aruba Central
PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..
ACEP / ACMX #107 / ACDX #1281
Original Message:
Sent: Feb 28, 2024 02:17 AM
From: GorazdKikelj
Subject: As Built Report for Aruba ClearPass
Hi Alexis.
I couldn't help myself and I try it.
Looks fine, but I did have quite a problem getting it running. I almost never use PowerShell so my familiarity with it is approx zero,
I follow the instructions and install the script. Then I try to create a report and stumbled about the following error:
Enter the path to save the As Built Report configuration file [d:\Development\AsBuildReport]:
Please wait while the Aruba ClearPass As Built Report is being generated.
New-AsBuiltReport : The term 'Invoke-AsBuiltReport.Aruba.ClearPass' is not recognized as the name of a cmdlet, function
, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ New-AsBuiltReport -Report Aruba.ClearPass -Target clearpass1.selectiu ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AsBuiltReport
Uncle Google show a possible resolution. I use the following command to make it work:
Import-Module AsBuiltReport.Aruba.ClearPass -force
Now I just need 6.11 and role mappings, enforcement policies, enforcement profiles and such to appear in the report :-)
Also onboarding and guest config is needed to really have a full report :-)
Best, Gorazd
------------------------------
Gorazd Kikelj
MVP Guru 2024
Original Message:
Sent: Feb 27, 2024 02:59 PM
From: GorazdKikelj
Subject: As Built Report for Aruba ClearPass
That's really great. Just working on python clearpass documentation module :-) for 6.11 when I saw your post.
Best, Gorazd
------------------------------
Gorazd Kikelj
MVP Guru 2024
Original Message:
Sent: Feb 22, 2024 05:30 AM
From: alagoutte
Subject: As Built Report for Aruba ClearPass
Hello, i release the first version of As Built Report For Aruba ClearPass,
it is a powershell script/module generate a report (HTML/Word) with the ClearPass Configuration, it is available on PS Gallery and doc (and issue) on github
some examples (HTML/Word) is available
It is based on 'public' clearpass.arubademo.net no yet updated to 6.11
and there is some new API with 6.11 (Enforcement Policy/Profile), and you can't see on the sample
------------------------------
PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...
PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)
PowerArubaCL: Powershell Module to use Aruba Central
PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..
ACEP / ACMX #107 / ACDX #1281
------------------------------