Skip to content

Commit

Permalink
[Fleet] use @kbn/config-schema in Fleet API (Part 1) (elastic#192883)
Browse files Browse the repository at this point in the history
## Summary

Relates elastic#184685

Readd elastic#192447 with fixes and tests
to validate that the response schemas are correct.

### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
  • Loading branch information
juliaElastic authored Sep 18, 2024
1 parent 6a79e2d commit 406f073
Show file tree
Hide file tree
Showing 25 changed files with 1,596 additions and 234 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/common/types/models/agent_policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export interface FullAgentPolicyInputStream {
id: string;
data_stream: {
dataset: string;
type: string;
type?: string;
};
[key: string]: any;
}
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugins/fleet/common/types/models/package_policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export interface NewPackagePolicy {
privileges?: {
cluster?: string[];
};
[key: string]: any;
};
overrides?: { inputs?: { [key: string]: any } } | null;
}
Expand Down
Loading

0 comments on commit 406f073

Please sign in to comment.