Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-generate cspm aws account endpoint #352

Merged
merged 1 commit into from
Jun 1, 2023
Merged

Conversation

ffalor
Copy link
Collaborator

@ffalor ffalor commented Jun 1, 2023

Re-generates /cloud-connect-cspm-azure/entities/account/v1

Fixes #351

github.com/crowdstrike/gofalcon/examples/falcon_cspm_aws_accounts

compatible changes

package added

github.com/crowdstrike/gofalcon/falcon/client/cspm_registration

incompatible changes

(*DeleteCSPMAwsAccountBadRequest).GetPayload: changed from func() *github.com/crowdstrike/gofalcon/falcon/models.RegistrationBaseResponseV1 to func() *github.com/crowdstrike/gofalcon/falcon/models.MsaBaseEntitiesResponse
(*DeleteCSPMAwsAccountInternalServerError).GetPayload: changed from func() *github.com/crowdstrike/gofalcon/falcon/models.RegistrationBaseResponseV1 to func() *github.com/crowdstrike/gofalcon/falcon/models.MsaBaseEntitiesResponse
(*DeleteCSPMAwsAccountMultiStatus).GetPayload: changed from func() *github.com/crowdstrike/gofalcon/falcon/models.RegistrationBaseResponseV1 to func() *github.com/crowdstrike/gofalcon/falcon/models.MsaBaseEntitiesResponse
(*DeleteCSPMAwsAccountOK).GetPayload: changed from func() *github.com/crowdstrike/gofalcon/falcon/models.RegistrationBaseResponseV1 to func() *github.com/crowdstrike/gofalcon/falcon/models.MsaBaseEntitiesResponse
(*GetCSPMAwsAccountForbidden).GetPayload: changed from func() *github.com/crowdstrike/gofalcon/falcon/models.MsaReplyMetaOnly to func() *github.com/crowdstrike/gofalcon/falcon/models.MsaspecResponseFields
DeleteCSPMAwsAccountBadRequest.Payload: changed from *github.com/crowdstrike/gofalcon/falcon/models.RegistrationBaseResponseV1 to *github.com/crowdstrike/gofalcon/falcon/models.MsaBaseEntitiesResponse
DeleteCSPMAwsAccountDefault: removed
DeleteCSPMAwsAccountInternalServerError.Payload: changed from *github.com/crowdstrike/gofalcon/falcon/models.RegistrationBaseResponseV1 to *github.com/crowdstrike/gofalcon/falcon/models.MsaBaseEntitiesResponse
DeleteCSPMAwsAccountMultiStatus.Payload: changed from *github.com/crowdstrike/gofalcon/falcon/models.RegistrationBaseResponseV1 to *github.com/crowdstrike/gofalcon/falcon/models.MsaBaseEntitiesResponse
DeleteCSPMAwsAccountOK.Payload: changed from *github.com/crowdstrike/gofalcon/falcon/models.RegistrationBaseResponseV1 to *github.com/crowdstrike/gofalcon/falcon/models.MsaBaseEntitiesResponse
GetCSPMAwsAccountDefault: removed
GetCSPMAwsAccountForbidden.Payload: changed from *github.com/crowdstrike/gofalcon/falcon/models.MsaReplyMetaOnly to *github.com/crowdstrike/gofalcon/falcon/models.MsaspecResponseFields
NewDeleteCSPMAwsAccountDefault: removed
NewGetCSPMAwsAccountDefault: removed

compatible changes

(*GetCSPMAwsAccountParams).SetIamRoleArns: added
(*GetCSPMAwsAccountParams).SetMigrated: added
(*GetCSPMAwsAccountParams).WithIamRoleArns: added
(*GetCSPMAwsAccountParams).WithMigrated: added
DeleteCSPMAwsAccountBadRequest.XCSTRACEID: added
DeleteCSPMAwsAccountForbidden.XCSTRACEID: added
DeleteCSPMAwsAccountInternalServerError.XCSTRACEID: added
DeleteCSPMAwsAccountMultiStatus.XCSTRACEID: added
DeleteCSPMAwsAccountOK.XCSTRACEID: added
DeleteCSPMAwsAccountTooManyRequests.XCSTRACEID: added
GetCSPMAwsAccountParams.IamRoleArns: added
GetCSPMAwsAccountParams.Migrated: added

github.com/crowdstrike/gofalcon/falcon/models

incompatible changes

DomainAWSAccountV2.Settings: changed from string to interface{}
RegistrationAWSAccountPatch.CloudtrailRegion: changed from *string to string

compatible changes

DomainAWSAccountV2.ActiveRegions: added
DomainAWSAccountV2.Conditions: added
DomainAWSAccountV2.CspmEnabled: added
DomainAWSAccountV2.SensorManagementEnabled: added
DomainCondition: added
RegistrationAWSAccountPatch.BehaviorAssessmentEnabled: added
RegistrationAWSAccountPatch.IamRoleArn: added
RegistrationAWSAccountPatch.RemediationRegion: added
RegistrationAWSAccountPatch.RemediationTouAccepted: added
RegistrationAWSAccountPatch.SensorManagementEnabled: added

github.com/crowdstrike/gofalcon/falcon/models/streaming_models

incompatible changes

Event.AuditKeyValues: changed from []AuditKeyValues to *[]AuditKeyValues
Event.Commands: changed from []string to *[]string
Event.DetectID: changed from string to *string
Event.DocumentsAccessed: changed from []DocumentsAccessed to *[]DocumentsAccessed
Event.EndTimestamp: changed from encoding/json.Number to *encoding/json.Number
Event.IOARuleInstanceVersion: changed from encoding/json.Number to *encoding/json.Number
Event.IncidentEndTime: changed from encoding/json.Number to *encoding/json.Number
Event.IncidentStartTime: changed from encoding/json.Number to *encoding/json.Number
Event.IncidentType: changed from IntOrString to *IntOrString
Event.LateralMovement: changed from encoding/json.Number to *encoding/json.Number
Event.NetworkAccesses: changed from []NetworkAccess to *[]NetworkAccess
Event.OperationName: changed from string to *string
Event.ParentProcesssId: removed
Event.PatternDispositionValue: changed from encoding/json.Number to *encoding/json.Number
Event.ProcessEndTime: changed from encoding/json.Number to *encoding/json.Number
Event.ProcessStartTime: changed from encoding/json.Number to *encoding/json.Number
Event.ServiceName: changed from string to *string
Event.StartTimestamp: changed from encoding/json.Number to *encoding/json.Number
Event.UTCTimestamp: changed from uint64 to *uint64
Event.UserId: changed from string to *string

compatible changes

Event.ParentProcessId: added

Re-generates /cloud-connect-cspm-azure/entities/account/v1

Fixes CrowdStrike#351
@ffalor ffalor self-assigned this Jun 1, 2023
@ffalor ffalor requested a review from redhatrises June 1, 2023 20:53
@ffalor ffalor merged commit 055ad5c into CrowdStrike:main Jun 1, 2023
13 checks passed
@ffalor ffalor deleted the cspm branch June 1, 2023 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type Parsing Error | API Endpoint (cloud-connect-cspm-aws/entities/account/v1)
1 participant