Added DigiCert/SCEP activity structs. (#26786)

For #26603

Splitting this change from the rest of the DigiCert/SCEP config work
since it requires documentation signoff.
This commit is contained in:
Victor Lyuboslavsky 2025-03-04 11:02:44 -06:00 committed by GitHub
parent 4aef025e6a
commit 488efd144e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 168 additions and 0 deletions

View file

@ -1556,6 +1556,96 @@ Generated when NDES SCEP proxy configuration is edited in Fleet.
This activity does not contain any detail fields.
## added_custom_scep_proxy
Generated when SCEP certificate authority configuration is added in Fleet.
This activity contains the following fields:
- "name": Name of the certificate authority.
#### Example
```json
{
"name": "SCEP_WIFI"
}
```
## deleted_custom_scep_proxy
Generated when SCEP certificate authority configuration is deleted in Fleet.
This activity contains the following fields:
- "name": Name of the certificate authority.
#### Example
```json
{
"name": "SCEP_WIFI"
}
```
## edited_custom_scep_proxy
Generated when SCEP certificate authority configuration is edited in Fleet.
This activity contains the following fields:
- "name": Name of the certificate authority.
#### Example
```json
{
"name": "SCEP_WIFI"
}
```
## added_digicert
Generated when DigiCert certificate authority configuration is added in Fleet.
This activity contains the following fields:
- "name": Name of the certificate authority.
#### Example
```json
{
"name": "DIGICERT_WIFI"
}
```
## deleted_digicert
Generated when DigiCert certificate authority configuration is deleted in Fleet.
This activity contains the following fields:
- "name": Name of the certificate authority.
#### Example
```json
{
"name": "DIGICERT_WIFI"
}
```
## edited_digicert
Generated when DigiCert certificate authority configuration is edited in Fleet.
This activity contains the following fields:
- "name": Name of the certificate authority.
#### Example
```json
{
"name": "DIGICERT_WIFI"
}
```
## enabled_activity_automations
Generated when activity automations are enabled

View file

@ -157,6 +157,12 @@ var ActivityDetailsList = []ActivityDetails{
ActivityAddedNDESSCEPProxy{},
ActivityDeletedNDESSCEPProxy{},
ActivityEditedNDESSCEPProxy{},
ActivityAddedCustomSCEPProxy{},
ActivityDeletedCustomSCEPProxy{},
ActivityEditedCustomSCEPProxy{},
ActivityAddedDigiCert{},
ActivityDeletedDigiCert{},
ActivityEditedDigiCert{},
ActivityTypeEnabledActivityAutomations{},
ActivityTypeEditedActivityAutomations{},
@ -2193,6 +2199,78 @@ func (a ActivityEditedNDESSCEPProxy) Documentation() (activity string, details s
return "Generated when NDES SCEP proxy configuration is edited in Fleet.", `This activity does not contain any detail fields.`, ``
}
type ActivityAddedCustomSCEPProxy struct{}
func (a ActivityAddedCustomSCEPProxy) ActivityName() string {
return "added_custom_scep_proxy"
}
func (a ActivityAddedCustomSCEPProxy) Documentation() (activity string, details string, detailsExample string) {
return "Generated when SCEP certificate authority configuration is added in Fleet.", `This activity contains the following fields:
- "name": Name of the certificate authority.`, `{
"name": "SCEP_WIFI"
}`
}
type ActivityDeletedCustomSCEPProxy struct{}
func (a ActivityDeletedCustomSCEPProxy) ActivityName() string {
return "deleted_custom_scep_proxy"
}
func (a ActivityDeletedCustomSCEPProxy) Documentation() (activity string, details string, detailsExample string) {
return "Generated when SCEP certificate authority configuration is deleted in Fleet.", `This activity contains the following fields:
- "name": Name of the certificate authority.`, `{
"name": "SCEP_WIFI"
}`
}
type ActivityEditedCustomSCEPProxy struct{}
func (a ActivityEditedCustomSCEPProxy) ActivityName() string {
return "edited_custom_scep_proxy"
}
func (a ActivityEditedCustomSCEPProxy) Documentation() (activity string, details string, detailsExample string) {
return "Generated when SCEP certificate authority configuration is edited in Fleet.", `This activity contains the following fields:
- "name": Name of the certificate authority.`, `{
"name": "SCEP_WIFI"
}`
}
type ActivityAddedDigiCert struct{}
func (a ActivityAddedDigiCert) ActivityName() string {
return "added_digicert"
}
func (a ActivityAddedDigiCert) Documentation() (activity string, details string, detailsExample string) {
return "Generated when DigiCert certificate authority configuration is added in Fleet.", `This activity contains the following fields:
- "name": Name of the certificate authority.`, `{
"name": "DIGICERT_WIFI"
}`
}
type ActivityDeletedDigiCert struct{}
func (a ActivityDeletedDigiCert) ActivityName() string {
return "deleted_digicert"
}
func (a ActivityDeletedDigiCert) Documentation() (activity string, details string, detailsExample string) {
return "Generated when DigiCert certificate authority configuration is deleted in Fleet.", `This activity contains the following fields:
- "name": Name of the certificate authority.`, `{
"name": "DIGICERT_WIFI"
}`
}
type ActivityEditedDigiCert struct{}
func (a ActivityEditedDigiCert) ActivityName() string {
return "edited_digicert"
}
func (a ActivityEditedDigiCert) Documentation() (activity string, details string, detailsExample string) {
return "Generated when DigiCert certificate authority configuration is edited in Fleet.", `This activity contains the following fields:
- "name": Name of the certificate authority.`, `{
"name": "DIGICERT_WIFI"
}`
}
type ActivityTypeEnabledAndroidMDM struct{}
func (a ActivityTypeEnabledAndroidMDM) ActivityName() string { return "enabled_android_mdm" }