-
Notifications
You must be signed in to change notification settings - Fork 63
API
Computer objects represent systems that may be targeted by ACE Sweeps. Computers must be "discovered" and thus cannot be added directly. The Computer Controller allows for the enumeration of discovered computers individually and as a whole.
List computers that have been enumerated by an ACE discovery.
Example: Get-AceComputer
Return a specific computer, specified by unique identifier, that has been enumerated by an ACE discovery.
Example: Get-AceComputer
Credential objects are usernames and passwords to be used by ACE for authenticating with systems that are targeted by a sweep. Passwords are encrypted at rest and only decrypted in memory when used to authenticate.
Delete a credential from the ACE database.
Example: Remove-AceCredential
List credentials in the ACE database.
Example: Get-AceCredential
Add a credential to the ACE database. Added credentials must be passed in the following format:
public class CredentialViewModel
{
[Required]
public string UserName { get; set; }
[Required]
public string Password { get; set; }
}
Example: New-AceCredential
Update a credential in the ACE database. The specific credential to update must be specified by it's unique identifier. The credential object must be passed in the following format:
public class CredentialViewModel
{
[Required]
public string UserName { get; set; }
[Required]
public string Password { get; set; }
}
Example: Update-AceCredential
public class DiscoveryActiveDirectoryViewModel
{
[Required]
public string Domain { get; set; }
[Required]
public Guid CredentialId { get; set; }
}
public class DiscoveryComputerListViewModel
{
[Required]
public string[] ComputerName { get; set; }
[Required]
public Guid CredentialId { get; set; }
}
public class SweepResultViewModel
{
[Required]
public string ComputerName { get; set; }
[Required]
public string ScanType { get; set; }
[Required]
public string RoutingKey { get; set; }
[Required]
public string ResultDate { get; set; }
[Required]
public string ScanId { get; set; }
[Required]
public string[] Data { get; set; }
}
public class FileViewModel
{
[Required]
public string Name { get; set; }
[Required]
public byte[] Content { get; set; }
[Required]
public string[] Enrichment { get; set; }
[Required]
public string Output { get; set; }
[Required]
public string Language { get; set; }
}
public class SweepExecutionViewModel
{
[Required]
public Guid[] ComputerId { get; set; }
[Required]
public Guid ScriptId { get; set; }
[Required]
public string Uri { get; set; }
}
public class UserViewModel
{
[Required]
public string UserName { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public bool IsAdmin { get; set; }
}
public class UserViewModel
{
[Required]
public string UserName { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public bool IsAdmin { get; set; }
}